Random dunno
This commit is contained in:
@@ -3,9 +3,9 @@ from Event import Event
|
||||
|
||||
class PointEvent(Event):
|
||||
def __init__(self, playerState):
|
||||
self.playerState = playerState
|
||||
self.gameState = playerState
|
||||
super().__init__("Point Event")
|
||||
|
||||
def trigger(self, target):
|
||||
super().trigger(target)
|
||||
self.playerState.addPoints(target.points)
|
||||
self.gameState.addPoints(target.points)
|
||||
Reference in New Issue
Block a user