// called by engine bool RaiseAttack(Critter target) { var e = new CritterAttackEventArgs(this, target); if (Attack != null) { Attack(this, e); } return(e.Prevent); }
// called by engine bool RaiseAttack(Critter target) { var e = new CritterAttackEventArgs(this, target); if(Attack != null) Attack(this, e); return e.Prevent; }