This commit is contained in:
Lukas Nöllemeyer 2024-08-19 21:40:38 +02:00
parent 74dd6b9fa1
commit 96895c5ce5

View file

@ -56,6 +56,14 @@ def new_world() -> Registry:
tags=[IsActor, IsPlayer] tags=[IsActor, IsPlayer]
) )
world.new_entity(
components={
Position: Position(0, 5),
Graphic: Graphic(ch=ord('G'), fg=(100,100,0, 255))
},
tags=[IsActor]
)
for _ in range(10): for _ in range(10):
world.new_entity( world.new_entity(
components={ components={