Update actors/ghost.py

This commit is contained in:
2025-04-15 21:33:12 +02:00
parent 058316febd
commit af49d834f6

View File

@@ -33,4 +33,20 @@ class ActorGhost(pygame.sprite.Sprite):
break
def set_mode(self, mode: GhostMode):
self.mode = mode
self.mode = mode
class Blinky(Ghost):
def __init__(self, position):
super().__init__("Blinky", GhostColor.BLINKY, position, speed=2)
class Pinky(Ghost):
def __init__(self, position):
super().__init__("Pinky", GhostColor.PINKY, position, speed=2)
class Inky(Ghost):
def __init__(self, position):
super().__init__("Inky", GhostColor.INKY, position, speed=2)
class Clyde(Ghost):
def __init__(self, position):
super().__init__("Clyde", GhostColor.CLYDE, position, speed=2)