"enemy"
This commit is contained in:
parent
74dd6b9fa1
commit
96895c5ce5
1 changed files with 8 additions and 0 deletions
|
|
@ -56,6 +56,14 @@ def new_world() -> Registry:
|
|||
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):
|
||||
world.new_entity(
|
||||
components={
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue