diff --git a/maze.py b/maze.py index a5abd8c..2c3e911 100644 --- a/maze.py +++ b/maze.py @@ -36,6 +36,7 @@ class Maze: self.power_pellets.add((x, y)) elif char == "P": self.pacman_start = (x * TILE_SIZE + TILE_SIZE // 2, y * TILE_SIZE + TILE_SIZE // 2 + 32) + self.pacman_location = (x, y) def draw(self, screen): for y, row in enumerate(self.layout):