Files
flippr-game/factories/PlayerStateFactory.py
Jonas Zeunert 7414734dad thiiiiings
2020-02-13 19:05:55 +01:00

9 lines
346 B
Python

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)