public override void Attack(Actor who) { Log.write("ATTACKING {0}", who.name); isAttacking = true; if (exists(ATTACK_EVENT_KEY)) { //Grab all handlers (could be more then one BT). foreach (var mthHandler in events[ATTACK_EVENT_KEY].methods) { mthHandler.handler(mthHandler.that, new object[] { who }); } } }
public virtual void Attack(Actor who) { }
public virtual void pickItem(Actor item) { }
/// <summary> /// Simple Item Pickup /// </summary> public override void pickItem(Actor itm) { }