blabla
This commit is contained in:
@@ -15,7 +15,6 @@ class GameState:
|
|||||||
self.specialDisplay = specialDisplay
|
self.specialDisplay = specialDisplay
|
||||||
self.specialDisplay.printCredits(self.credits)
|
self.specialDisplay.printCredits(self.credits)
|
||||||
self.isPlaying = False
|
self.isPlaying = False
|
||||||
PLAYER_LAMPS.activateNext()
|
|
||||||
|
|
||||||
def nextPlayer(self):
|
def nextPlayer(self):
|
||||||
self.currentPlayer = next(self.players)
|
self.currentPlayer = next(self.players)
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ class LampGroup:
|
|||||||
self.currentLampPtr -= 1
|
self.currentLampPtr -= 1
|
||||||
|
|
||||||
def cycle(self):
|
def cycle(self):
|
||||||
|
if self.currentLamp:
|
||||||
self.currentLamp.deactivate()
|
self.currentLamp.deactivate()
|
||||||
self.currentLamp = next(self.lamp_cycle)
|
self.currentLamp = next(self.lamp_cycle)
|
||||||
self.currentLamp.activate()
|
self.currentLamp.activate()
|
||||||
|
|||||||
Reference in New Issue
Block a user