Update pman.py
This commit is contained in:
4
pman.py
4
pman.py
@@ -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
|
||||||
|
Reference in New Issue
Block a user