Files
flippr-game/lamps/Lamp.py
2022-06-06 19:02:56 +02:00

16 lines
316 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')