Very much done

This commit is contained in:
Jonas Zeunert
2021-03-07 10:51:24 +01:00
parent f07c686b68
commit c54ab2e311
47 changed files with 339 additions and 77 deletions

19
events/SpecialEvent.py Normal file
View File

@@ -0,0 +1,19 @@
from Event import Event
class SpecialEvent(Event):
def __init__(self, name, playerState):
super().init(name)
self.playerState = playerState
def replay(self):
self.playerState.setReplayBall()
def extra_ball(self):
self.playerState.addBall()
def points(self):
self.playerState.addPoints(self.points)
def super_bonus(self):
pass