Update actors/pacman.py

This commit is contained in:
2025-04-19 10:17:52 +02:00
parent 2020ab49da
commit 0069d151d2

View File

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