diff options
Diffstat (limited to 'src/sliceitoff/game/gameplay.py')
-rw-r--r-- | src/sliceitoff/game/gameplay.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/sliceitoff/game/gameplay.py b/src/sliceitoff/game/gameplay.py index ef708c4..5a14767 100644 --- a/src/sliceitoff/game/gameplay.py +++ b/src/sliceitoff/game/gameplay.py @@ -7,15 +7,13 @@ class Gameplay: self, player = None, field = None, - status = None, enemies = None, stats = None): - self.status = status self.player = player self.field = field self.enemies = enemies self.stats = stats - + def fire(self): """ Lazer is fired. Actions to be taken. """ zap_sprite = self.field.slice( @@ -33,9 +31,10 @@ class Gameplay: return self.stats.percent < 20 def quit(self): + """ Lose lives so no leveling up """ self.stats.lives = 0 return True - + def step(self): """ Processes events for the step (frame) """ for event in pygame.event.get(): |