From 5f7800dc39eced6609a6198895c32f2e1a8e2b1a Mon Sep 17 00:00:00 2001 From: Lerking Date: Sat, 19 Apr 2025 10:19:24 +0200 Subject: [PATCH] Update pman.py --- pman.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pman.py b/pman.py index 8940bd5..c797670 100644 --- a/pman.py +++ b/pman.py @@ -6,7 +6,7 @@ from actors.ghost_mode_controller import GhostModeController from hud import HUD from maze import Maze -__version__ = "0.2.5" +__version__ = "0.2.6" def spawn_ghosts(center_position): @@ -38,7 +38,7 @@ def main() -> None: hud = HUD(screen_width, screen_height, cherry_image=cherry_img) maze = Maze("maze/pacman_maze.txt") - player = ActorPacman(screen, center=maze.pacman_start) + player = ActorPacman(screen, center=maze.pacman_start, start_location=maze.pacman_location) ghost_mode_controller = GhostModeController() ghost_home_center = (screen_width // 2, (screen_height) // 2) ghosts = spawn_ghosts(ghost_home_center)