Files
flippr-game/lamps/Lamp.py
2022-06-07 01:05:35 +02:00

17 lines
343 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')