From 6c43e3b3ab77ec0c3c57763178723a50e4dcac52 Mon Sep 17 00:00:00 2001 From: omagdy7 Date: Wed, 19 Apr 2023 02:09:53 +0200 Subject: Added the ghost sprites to the game. --- src/pinky.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/pinky.py') diff --git a/src/pinky.py b/src/pinky.py index b512bb9..f89865d 100644 --- a/src/pinky.py +++ b/src/pinky.py @@ -5,8 +5,8 @@ import math from Ghost import Ghost class Pinky(Ghost): - def __init__(self, x, y): - super().__init__("pink", x, y) + def __init__(self, sprite_sheet, x, y): + super().__init__(sprite_sheet,"pink", x, y) @@ -59,7 +59,6 @@ class Pinky(Ghost): forbidden = 1 new_target = self.get_four_tiles_ahead_of_pacman(target) - print((target.x, target.y), new_target) for i in range(len(dx)): if i != forbidden: -- cgit v1.2.3