dynamic wall drawing

This commit is contained in:
Lukas Nöllemeyer 2024-08-17 15:58:48 +02:00
parent 2fae90e071
commit 866c2c14de
4 changed files with 9 additions and 6 deletions

View file

@ -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)