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()