Update pman.py

This commit is contained in:
2025-04-19 10:10:13 +02:00
parent 281cddd443
commit b38069b3b4

View File

@@ -6,7 +6,7 @@ from actors.ghost_mode_controller import GhostModeController
from hud import HUD from hud import HUD
from maze import Maze from maze import Maze
__version__ = "0.2.5" __version__ = "0.2.6"
def spawn_ghosts(center_position): def spawn_ghosts(center_position):
@@ -77,7 +77,7 @@ def main() -> None:
# In your main game loop: # In your main game loop:
hud.draw(screen) hud.draw(screen)
maze.draw(screen) maze.draw(screen)
player.animate() player.update(maze)
player.draw() player.draw()
ghost_mode_controller.update() ghost_mode_controller.update()
current_mode = ghost_mode_controller.mode current_mode = ghost_mode_controller.mode