clarification
This commit is contained in:
parent
a982e48c11
commit
b53ebac2dd
3 changed files with 10 additions and 10 deletions
|
|
@ -10,7 +10,7 @@ from tcod.map import Map
|
|||
import g
|
||||
|
||||
from game.components import Action, Gold, Graphic, Position
|
||||
from game.tags import IsActor, IsItem, IsPlayer, IsDoor
|
||||
from game.tags import IsActor, IsItem, IsPlayer, IsWalllike
|
||||
|
||||
world_center: Final = Position(50, 50)
|
||||
|
||||
|
|
@ -33,7 +33,7 @@ def add_door(world, pos):
|
|||
Graphic: Graphic(ord('\\')),
|
||||
Action: unlock_door
|
||||
},
|
||||
tags=[IsDoor]
|
||||
tags=[IsWalllike]
|
||||
)
|
||||
add_wall(world, pos)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue