Exemple #1
0
 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 });
         }
     }
 }
Exemple #2
0
 public virtual void Attack(Actor who)
 {
 }
Exemple #3
0
 public virtual void pickItem(Actor item)
 {
 }
Exemple #4
0
 /// <summary>
 /// Simple Item Pickup
 /// </summary>
 public override void pickItem(Actor itm)
 {
 }