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

            LogToConsole(LogString);
        }
Esempio n. 3
0
 public virtual void Handle(ICombatPaperEvent paperEvent)
 {
 }