From 57f8b19bde0173076ee9b90c6c436b95abc5bcca Mon Sep 17 00:00:00 2001 From: Lerking Date: Tue, 15 Apr 2025 21:51:26 +0200 Subject: [PATCH] Update actors/ghost.py --- actors/ghost.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/actors/ghost.py b/actors/ghost.py index a157d20..3c45261 100644 --- a/actors/ghost.py +++ b/actors/ghost.py @@ -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):