This commit is contained in:
Jonas Zeunert
2021-03-07 17:41:29 +01:00
parent 49f059ea57
commit 4b9c05a586

View File

@@ -1,9 +1,10 @@
from config import *
from PlayerState import PlayerState
class PlayerStateFactory:
def __init__(self, specialDisplay):
self.specialDisplay = specialDisplay
def createPlayerState(self, display, id):
return PlayerState(display, self.specialDisplay, id, BALLS_PER_GAME, BEGINNING_UPPER_PLAYFIELD_TIME, BEGINNING_BONUS_TIME)
return PlayerState(display, self.specialDisplay, id, BALLS_PER_GAME)