This commit is contained in:
Jonas Zeunert
2022-08-30 19:14:21 +02:00
parent d980934216
commit 762cb03912
4 changed files with 14 additions and 3 deletions

View File

@@ -10,6 +10,7 @@ class GameState:
players = None
credits = config.BALLS_PER_GAME
isPlaying = False
isStarted = False
def __init__(self, playerStateFactory, highscore, specialDisplay, currentPlayerID = 0):
CREDIT.activate()
@@ -26,7 +27,7 @@ class GameState:
self.currentPlayer = next(self.players)
def startGame(self, playerCount):
self.isPlaying = True
self.isStarted = True
self.createPlayers(playerCount)
self.nextPlayer()