event logging

This commit is contained in:
Jonas Zeunert
2020-05-03 20:22:45 +02:00
parent 8e70921c8e
commit 8553361815
13 changed files with 19 additions and 9 deletions

View File

@@ -1,10 +1,12 @@
from Event import Event
class LeaveUpperPlayfieldEvent(Event):
def __init__(self, playerState, flipper):
self.playerState = playerState
self.flipper = flipper
def trigger(self):
super().trigger()
self.flipper.deactivate()
self.playerState().stopUpperPlayfieldTimer()