Skip to content

Commit a8e057c

Browse files
committed
adding pacman animation
1 parent bfdbe00 commit a8e057c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

adafruit_led_animation/animation/pacman.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,7 @@ def draw(self):
104104
pixel_list[self.pacman[1] + self.black_dir] = BLACK
105105
self.pacman[1] += self.direction
106106

107-
if (
108-
self.ghosts[3][1] <= self.start_blinking_ghosts
109-
and self.direction == -1
110-
):
107+
if self.ghosts[3][1] <= self.start_blinking_ghosts and self.direction == -1:
111108
if self.flag == "beep":
112109
for i, ghost in enumerate(self.ghosts):
113110
ghost[0] = BLACK

0 commit comments

Comments
 (0)