|
|
@ -23,7 +23,7 @@ class State():
|
|
|
|
return self.persist
|
|
|
|
return self.persist
|
|
|
|
|
|
|
|
|
|
|
|
@abstractmethod
|
|
|
|
@abstractmethod
|
|
|
|
def update(sefl, surface, keys, current_time):
|
|
|
|
def update(self, surface, keys, current_time):
|
|
|
|
'''abstract method'''
|
|
|
|
'''abstract method'''
|
|
|
|
|
|
|
|
|
|
|
|
class Control():
|
|
|
|
class Control():
|
|
|
@ -173,4 +173,4 @@ SCREEN = pg.display.set_mode(c.SCREEN_SIZE)
|
|
|
|
|
|
|
|
|
|
|
|
GFX = load_all_gfx(os.path.join("resources","graphics"))
|
|
|
|
GFX = load_all_gfx(os.path.join("resources","graphics"))
|
|
|
|
ZOMBIE_RECT = loadZombieImageRect()
|
|
|
|
ZOMBIE_RECT = loadZombieImageRect()
|
|
|
|
PLANT_RECT = loadPlantImageRect()
|
|
|
|
PLANT_RECT = loadPlantImageRect()
|
|
|
|