dynamic wall drawing
This commit is contained in:
parent
2fae90e071
commit
866c2c14de
4 changed files with 9 additions and 6 deletions
|
|
@ -83,6 +83,6 @@ def new_world() -> Registry:
|
|||
|
||||
|
||||
def unlock_door(door: Entity):
|
||||
door.components[Graphic] = Graphic(ord("_"))
|
||||
door.components[Graphic] = Graphic(ord("/"))
|
||||
door.components.pop(Action)
|
||||
add_wall(g.world, door.components[Position], remove=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue