Example #1
0
 public void AddExplorationEvents(ExplorationQuest explorationQuest)
 {
     explorationEvents.Add(
         new ExplorationEvent
     {
         explorationArea     = explorationQuest.explorationArea,
         questEventBelongsTo = explorationQuest
     });
 }
Example #2
0
 public void RemoveExplorationEvents(ExplorationQuest explorationQuest)
 {
     for (int i = 0; i < explorationEvents.Count; i++)
     {
         if (explorationEvents[i].questEventBelongsTo.ID == explorationQuest.ID)
         {
             // Remove ExplorationEvent from completed Quest
             explorationEvents.RemoveAt(i);
         }
     }
 }
Example #3
0
    public void InstantiateExplorationPoint(ExplorationQuest explorationQuest)
    {
        ExplorationArea explorationArea = explorationQuest.explorationArea;

        Instantiate(explorationPoint, new Vector3(explorationArea.x, explorationArea.y, 0), Quaternion.identity);
    }