from Event import Event class SpecialEvent(Event): def __init__(self, name, gameState): super().__init__(name) self.gameState = gameState def replay(self): self.gameState.currentPlayer.setReplayBall() def extra_ball(self): self.gameState.currentPlayer.addBall() def points(self): self.gameState.currentPlayer.addPoints(self.points) def bonus_time(self): self.gameState.currentPlayer.addBonusTimeSecond() def super_bonus(self): pass