6 lines
177 B
Python
6 lines
177 B
Python
class PointEvent:
|
|
def __init__(self, playerState):
|
|
self.playerState = playerState
|
|
|
|
def trigger(self, target):
|
|
self.playerState().addPoints(target.points) |