コード例 #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);
 }
コード例 #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;
 }
コード例 #3
0
 public void addInteraction(NPCInteraction n)
 {
     interactions.Add(n);
 }