Add: Act credit lamp
This commit is contained in:
@@ -1,8 +1,10 @@
|
|||||||
import logging
|
import logging
|
||||||
from lamps.LampGroup import PLAYER_LAMPS
|
from lamps.LampGroup import PLAYER_LAMPS
|
||||||
|
from lamps.Lamp import CREDIT
|
||||||
|
|
||||||
class GameState:
|
class GameState:
|
||||||
def __init__(self, players, highscore, specialDisplay, currentPlayerID = 0):
|
def __init__(self, players, highscore, specialDisplay, currentPlayerID = 0):
|
||||||
|
CREDIT.activate()
|
||||||
self.players = players
|
self.players = players
|
||||||
self.gameStateID = currentPlayerID
|
self.gameStateID = currentPlayerID
|
||||||
self.highscore = highscore
|
self.highscore = highscore
|
||||||
|
|||||||
@@ -13,3 +13,4 @@ class Lamp:
|
|||||||
def isActivated(self):
|
def isActivated(self):
|
||||||
networking.getLamps(self)
|
networking.getLamps(self)
|
||||||
|
|
||||||
|
CREDIT = Lamp('Credit')
|
||||||
Reference in New Issue
Block a user