Files
flippr-game/lamps/Lamp.py
Jonas Zeunert 0b89d9127b wtf
2022-09-01 02:43:16 +02:00

28 lines
606 B
Python

from __main__ import networking
class Lamp:
def __init__(self, name):
self.name = name
def activate(self):
networking.activateLamp(self)
def deactivate(self):
networking.deactivateLamp(self)
def isActivated(self):
networking.getLamps(self)
CREDIT = Lamp('Credit')
SHOOT_AGAIN = Lamp('Ball')
HIGHSCORE = Lamp('Highest Score')
GAMEOVER = Lamp('Game Over')
TILT = Lamp('Tilt')
MATCH = Lamp ('Match')
BALL_TO_PLAY = Lamp('Ball To Play')
UP = Lamp('UP')
DOWN = Lamp('Down')
BALL = Lamp('Ball')
MAN = Lamp('Man Speech Lamp')
WOMAN = Lamp('Woman Speech Lamp')