Update pman.py
This commit is contained in:
2
pman.py
2
pman.py
@@ -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, location=maze.pacman_location)
|
||||
ghost_mode_controller = GhostModeController()
|
||||
ghost_home_center = (screen_width // 2, (screen_height) // 2)
|
||||
ghosts = spawn_ghosts(ghost_home_center)
|
||||
|
||||
Reference in New Issue
Block a user