completed moving walls to map
This commit is contained in:
parent
9b85305481
commit
91485c0f6b
4 changed files with 14 additions and 15 deletions
3
g.py
3
g.py
|
|
@ -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."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue