Esempio n. 1
0
 public NPC(int t, int l, NPCInteraction a, string name, Color c) : base(t, l, a, name, c, false)
 {
     Width        = 40;
     Height       = 40;
     currentInter = 0;
     interactions = new List <NPCInteraction>();
     interactions.Add(a);
 }
Esempio n. 2
0
 public ExtendedNPCDistanceInteraction(int t, int l, NPCInteraction a, string name, Color c) : base(t, l, a, name, c)
 {
     this.IsEnabled   = false;
     interaction      = a;
     this.CanMoveOver = true;
 }
Esempio n. 3
0
 public void addInteraction(NPCInteraction n)
 {
     interactions.Add(n);
 }