Gameplay de la recherche dans les dossiers #44
|
@ -159,6 +159,8 @@ def __attacks(world: World):
|
|||
"""
|
||||
Déclenche les attaques de Edmond.
|
||||
"""
|
||||
if world[State] == State.GAME_OVER:
|
||||
return
|
||||
world[AttackTimer] = AttackTimer(world[AttackTimer] + world[Delta])
|
||||
timer = world[AttackTimer]
|
||||
if timer >= world[AttackSpeed] and world[State] == State.MOVING:
|
||||
|
|
Loading…
Reference in a new issue