add: Print to special disp
This commit is contained in:
@@ -2,10 +2,13 @@ import logging
|
||||
from lamps.LampGroup import PLAYER_LAMPS
|
||||
|
||||
class GameState:
|
||||
def __init__(self, players, highscore, currentPlayerID = 0):
|
||||
def __init__(self, players, highscore, specialDisplay, currentPlayerID = 0):
|
||||
self.players = players
|
||||
self.gameStateID = currentPlayerID
|
||||
self.highscore = highscore
|
||||
self.credits = 3
|
||||
self.specialDisplay = specialDisplay
|
||||
self.specialDisplay.printCredits(self.credits)
|
||||
PLAYER_LAMPS.activateNext()
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user