Add: Bonus Event

This commit is contained in:
Jonas Zeunert
2022-02-21 23:18:33 +01:00
parent 011ff20365
commit 05c26080ab
5 changed files with 58 additions and 6 deletions

11
events/BonusEvent.py Normal file
View File

@@ -0,0 +1,11 @@
from Event import Event
class BonusEvent(Event):
def __init__(self, playerState):
self.playerState = playerState
super().__init__("Bonus Event")
def trigger(self, target):
super().trigger(target)
self.playerState.advanceBonus()