change playerstate to be function

This commit is contained in:
Jonas Zeunert
2022-05-05 23:08:02 +02:00
parent ae93fd81f2
commit ff5d9d4dfa
7 changed files with 22 additions and 22 deletions

View File

@@ -8,4 +8,4 @@ class BonusEvent(Event):
def trigger(self, target):
super().trigger(target)
self.playerState.advanceBonus()
self.playerState().advanceBonus()