17 lines
508 B
Python
17 lines
508 B
Python
from .enums import PlayerDirection
|
|
|
|
class ActorPacman:
|
|
def __init__(self):
|
|
self.images: dict = {
|
|
"right": "resources/gfx/pacman_right.png",
|
|
"left": "resources/gfx/pacman_left.png",
|
|
"up": "resources/gfx/pacman_up.png",
|
|
"down": "resources/gfx/pacman_down.png"
|
|
}
|
|
self.direction = PlayerDirection.DirectionRight
|
|
|
|
def move_right(self):
|
|
pass
|
|
|
|
def set_direction(self, dir: PlayerDirection):
|
|
self.direction = dir |