Update actors/ghost.py
This commit is contained in:
@@ -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):
|
||||
|
Reference in New Issue
Block a user