thiiiiings
This commit is contained in:
9
factories/PlayerStateFactory.py
Normal file
9
factories/PlayerStateFactory.py
Normal file
@@ -0,0 +1,9 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user