public override void Handle(ICombatPaperEvent paperCmd) { paperCmd.Defender.HpAction(-paperCmd.Intensity); if (paperCmd.Defender.CurrentHitPoints < 1) { NotificationSystem.Raise(new DeathStatusEvent(paperCmd.Defender)); } }
public override void Handle(ICombatPaperEvent paperEvent) { var LogString = paperEvent.Attacker.Name + " attacked " + paperEvent.Defender.Name + " causing " + paperEvent.Intensity + " damage!"; LogToConsole(LogString); }
public virtual void Handle(ICombatPaperEvent paperEvent) { }