giving events a name
This commit is contained in:
@@ -2,8 +2,9 @@ from Event import Event
|
||||
|
||||
|
||||
class FlapEvent(Event):
|
||||
def __init__(self, flapSolenoid):
|
||||
def __init__(self, flapSolenoid, name):
|
||||
self.flapSolenoid = flapSolenoid
|
||||
super().__init__(name)
|
||||
|
||||
def trigger(self):
|
||||
super().trigger()
|
||||
|
||||
Reference in New Issue
Block a user