예제 #1
0
파일: NPC.cs 프로젝트: bettsmatt/Epheremal
 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();
 }
예제 #2
0
 public abstract Interaction[] GetInteractionsFor(Character interactor);
예제 #3
0
 public void Kill(Character c)
 {
     _toKill.Enqueue(c);
 }