Example #1
0
 public override Interactions.Interaction[] GetInteractionsFor(Character interactor)
 {
     List<Interaction> retVal = new List<Interaction>();
     foreach (Behaviour b in this.Behaviours[Entity.State])
     {
         Interaction i = b.GetAppropriateInteractionFor(interactor, this);
         if (i != null) retVal.Add(i);
     }
     return retVal.ToArray();
 }
Example #2
0
 public abstract Interaction[] GetInteractionsFor(Character interactor);
Example #3
0
 public void Kill(Character c)
 {
     _toKill.Enqueue(c);
 }