Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
Added spawner
  • Loading branch information
T1GIT committed Feb 4, 2021
1 parent 5e14571 commit afc781e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions SpaceBattle/components/game.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def reset(self):
self.ship.add(Groups.ALL)
self.ship.locate(Conf.Window.WIDTH // 2, Conf.Window.HEIGHT // 2)
Groups.ALL.add(self.ship)
self.game_over = False
self.running = True

def lose(self):
Expand Down
2 changes: 1 addition & 1 deletion SpaceBattle/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class System:

class Window:
TITLE = "Space Battle"
FULLSCREEN = False
FULLSCREEN = True
WIDTH = 1000
HEIGHT = 1000

Expand Down

0 comments on commit afc781e

Please sign in to comment.