Update actors/ghost.py

This commit is contained in:
2025-04-15 21:51:26 +02:00
parent 444d6c508c
commit 57f8b19bde

View File

@@ -37,6 +37,10 @@ class Ghost(pygame.sprite.Sprite):
def set_mode(self, mode: GhostMode):
self.mode = mode
if mode == GhostMode.FRIGHTENED:
self.image.fill((33, 33, 255)) # dark blue
else:
self.image.fill(self.color)
class Blinky(Ghost):
def __init__(self, position):