aboutsummaryrefslogtreecommitdiff
path: root/src/inky.py
diff options
context:
space:
mode:
authoromagdy7 <omar.professional8777@gmail.com>2023-05-08 23:02:03 +0300
committeromagdy7 <omar.professional8777@gmail.com>2023-05-08 23:02:03 +0300
commitaaf0194f9b5d93bd6612bc0b419c4b8f89b4aa21 (patch)
tree5c8950e0cb7adb4782e35bb26a0aa8242ea71398 /src/inky.py
parent241e41892a10d3913c63935a8f9e14306e8a73cd (diff)
downloadMacpan-aaf0194f9b5d93bd6612bc0b419c4b8f89b4aa21.tar.xz
Macpan-aaf0194f9b5d93bd6612bc0b419c4b8f89b4aa21.zip
Added a simple Wining screen when the user collects all the food
Diffstat (limited to 'src/inky.py')
-rw-r--r--src/inky.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/inky.py b/src/inky.py
index 840b60b..2b48ede 100644
--- a/src/inky.py
+++ b/src/inky.py
@@ -40,7 +40,11 @@ class Inky(Ghost):
@override
def get_default_tile(self):
- return (2 * 30 + 15, 30 * 30 + 15)
+ return (27 * 30 + 15, 2 * 30 + 15)
+
+ @override
+ def get_intial_tile(self):
+ return (13 * 30 + 15, 12 * 30 + 15)
def get_target(self, inter_tile, blinky):
target = (max(inter_tile[0] - (blinky.x - inter_tile[0]) % 900, 0),