giving events a name

This commit is contained in:
Jonas Zeunert
2020-05-03 20:33:49 +02:00
parent 8553361815
commit 6edd604c28
13 changed files with 14 additions and 3 deletions

View File

@@ -4,6 +4,7 @@ from Event import Event
class EndGameEvent(Event):
def __init__(self, flipper):
self.flipper = flipper
super().__init__("End Game Event")
def trigger(self):
super().trigger()