Gameplay de la recherche dans les dossiers #44

Merged
CoCo_Sol merged 32 commits from directory-search into main 2023-10-30 00:49:00 +00:00
Showing only changes of commit ecb9533615 - Show all commits

View file

@ -159,6 +159,8 @@ def __attacks(world: World):
""" """
Déclenche les attaques de Edmond. Déclenche les attaques de Edmond.
""" """
if world[State] == State.GAME_OVER:
return
world[AttackTimer] = AttackTimer(world[AttackTimer] + world[Delta]) world[AttackTimer] = AttackTimer(world[AttackTimer] + world[Delta])
timer = world[AttackTimer] timer = world[AttackTimer]
if timer >= world[AttackSpeed] and world[State] == State.MOVING: if timer >= world[AttackSpeed] and world[State] == State.MOVING: