Very much done
This commit is contained in:
19
events/SpecialEvent.py
Normal file
19
events/SpecialEvent.py
Normal 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
|
||||
Reference in New Issue
Block a user