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()