formatting
This commit is contained in:
parent
acb2f90905
commit
09d886cb03
1 changed files with 1 additions and 6 deletions
|
|
@ -55,11 +55,6 @@ def new_world() -> Registry:
|
|||
},
|
||||
tags=[IsActor, IsPlayer]
|
||||
)
|
||||
# player = world[object()] # <- das hier ist das gleiche wie das world.new_entity darüber
|
||||
# player.components[Position] = Position(5, 5)
|
||||
# player.components[Graphic] = Graphic(ord("@"))
|
||||
# player.components[Gold] = 0
|
||||
# player.tags |= {IsPlayer, IsActor}
|
||||
|
||||
for _ in range(10):
|
||||
world.new_entity(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue