add: Print to special disp
This commit is contained in:
@@ -15,11 +15,11 @@ class GameFactory:
|
||||
def __init__(self):
|
||||
displayNames = networking.getDisplays()['displays']
|
||||
self.displayFactory = DisplayFactory(displayNames)
|
||||
specialDisplay = self.displayFactory.createSpecialDisplay()
|
||||
self.specialDisplay = self.displayFactory.createSpecialDisplay()
|
||||
|
||||
self.playerCount = len(displayNames)
|
||||
|
||||
self.gameStateFactory = PlayerStateFactory(specialDisplay)
|
||||
self.gameStateFactory = PlayerStateFactory(self.specialDisplay)
|
||||
|
||||
|
||||
def createGame(self):
|
||||
@@ -29,7 +29,7 @@ class GameFactory:
|
||||
banks = [targets['Left Bank'], targets['Right Bank'], targets['Top Bank']]
|
||||
players = self.createPlayers(banks)
|
||||
|
||||
gameState = GameState(players, self.getHighScore(), players[0].id)
|
||||
gameState = GameState(players, self.getHighScore(), self.specialDisplay, players[0].id)
|
||||
|
||||
eventFactory = EventFactory(targets, gameState)
|
||||
events = eventFactory.allEvents()
|
||||
|
||||
Reference in New Issue
Block a user