From 568a42f2aa8da248e6f788be12e073f52834acee Mon Sep 17 00:00:00 2001 From: Taoup Date: Tue, 10 Dec 2019 22:02:03 +0800 Subject: [PATCH] typo (#5) --- source/tool.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/tool.py b/source/tool.py index 4bf45be..1a319c8 100644 --- a/source/tool.py +++ b/source/tool.py @@ -23,7 +23,7 @@ class State(): return self.persist @abstractmethod - def update(sefl, surface, keys, current_time): + def update(self, surface, keys, current_time): '''abstract method''' class Control(): @@ -173,4 +173,4 @@ SCREEN = pg.display.set_mode(c.SCREEN_SIZE) GFX = load_all_gfx(os.path.join("resources","graphics")) ZOMBIE_RECT = loadZombieImageRect() -PLANT_RECT = loadPlantImageRect() \ No newline at end of file +PLANT_RECT = loadPlantImageRect()