From 0069d151d2366e38f960d4fc8058acbb87b019a5 Mon Sep 17 00:00:00 2001 From: Lerking Date: Sat, 19 Apr 2025 10:17:52 +0200 Subject: [PATCH] Update actors/pacman.py --- actors/pacman.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/actors/pacman.py b/actors/pacman.py index fc88c61..ef3e58a 100644 --- a/actors/pacman.py +++ b/actors/pacman.py @@ -3,7 +3,7 @@ import pygame import math class ActorPacman: - def __init__(self, scr, center): + def __init__(self, scr, center, start_location): self.screen = scr self.direction = PlayerDirection.DirectionRight self.speed = 3 @@ -14,6 +14,7 @@ class ActorPacman: self.max_mouth_deg = 45 self.animate_speed = 2 self.mouth_closing = False + self.location = start_location def update(self): self.animate()