Example #1
0
 public bool Add(Quest q)
 {
     int slot = FindSlot();
     if (slot == -1) return false;
     list[slot] = q;
     return true;
 }
Example #2
0
 public QuestList()
 {
     list = new Quest[20];
     for (int i = 0; i < 20; i++)
         list[i] = new Quest();
 }