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