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

@@ -7,13 +7,13 @@ class SpecialEvent(Event):
self.playerState = playerState
def replay(self):
self.playerState.setReplayBall()
self.playerState().setReplayBall()
def extra_ball(self):
self.playerState.addBall()
self.playerState().addBall()
def points(self):
self.playerState.addPoints(self.points)
self.playerState().addPoints(self.points)
def super_bonus(self):
pass