Update actors/pacman.py
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user