completed moving walls to map

This commit is contained in:
Lukas Nöllemeyer 2024-08-17 09:56:13 +02:00
parent 9b85305481
commit 91485c0f6b
4 changed files with 14 additions and 15 deletions

3
g.py
View file

@ -7,6 +7,7 @@ import tcod.context
import tcod.ecs
import game.state
from game.components import Position
context: tcod.context.Context
"""The window managed by tcod."""
@ -17,7 +18,7 @@ world: tcod.ecs.Registry
world_map: tcod.map.Map
"""Wall Map of current World"""
world_center: tuple[int,int] = (50, 50)
world_center: tuple[int,int] = Position(50, 50)
states: list[game.state.State] = []
"""A stack of states with the last item being the active state."""