10 lines
293 B
Python
10 lines
293 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) |