Files
flippr-game/events/SpecialEvent.py
Jonas Zeunert db72d1c744 fu
2022-09-03 12:34:33 +02:00

23 lines
519 B
Python

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