event logging
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
from Event import Event
|
||||
|
||||
|
||||
class PointEvent(Event):
|
||||
def __init__(self, playerState):
|
||||
self.playerState = playerState
|
||||
|
||||
def trigger(self, target):
|
||||
super().trigger()
|
||||
self.playerState().addPoints(target.points)
|
||||
Reference in New Issue
Block a user