lkjfds
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
from lamps.Lamp import Lamp
|
||||
from itertools import cycle
|
||||
import time
|
||||
|
||||
class LampGroup:
|
||||
def __init__(self, lamps):
|
||||
@@ -44,6 +45,9 @@ class LampGroup:
|
||||
self.currentLamp = next(self.lamp_cycle)
|
||||
self.currentLamp.activate()
|
||||
|
||||
|
||||
|
||||
|
||||
PLAYER_LAMPS = LampGroup([
|
||||
Lamp("Can Play 1"),
|
||||
Lamp("Can Play 2"),
|
||||
|
||||
Reference in New Issue
Block a user