add: Print to special disp

This commit is contained in:
Jonas Zeunert
2022-06-06 19:00:49 +02:00
parent b362442bb8
commit 3185efd0c6
3 changed files with 12 additions and 5 deletions

View File

@@ -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