Files
PyGame-Pacman/actors/enums.py
2025-04-14 13:50:36 +02:00

24 lines
458 B
Python

from enum import Enum
class PlayerDirection(Enum):
DirectionRight = 0
DirectionLeft = 180
DirectionUp = -90
DirectionDown = 90
class GhostDirection(Enum):
GhostRight = 1
GhostLeft = 2
GhostUp = 3
GhostDown = 4
class PillType(Enum):
PillTypeRegular = 1
PillTypePower = 2
class Colors(Enum):
Yellow = (255, 255, 0)
Black = (0, 0, 0)
Blue = (0, 0, 255)
Cyan = (0, 255, 255)
Magenta = (255, 0, 255)