Update maze.py

This commit is contained in:
2025-04-19 10:12:05 +02:00
parent b38069b3b4
commit 118ce1b3db

View File

@@ -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):