protected override void HandleActions() { damagingAction = new KillPlayerAction(healthService, clickedBehaviour); deathAction = new ActionOnNotify(passedFinishBehavior).SetAction(Die); }
protected virtual void HandleActions() { deathAction = new ActionOnNotify(new List <IRaisableBehaviour> { passedFinishBehavior, clickedBehaviour }).SetAction(Die); }