public void AddExplorationEvents(ExplorationQuest explorationQuest) { explorationEvents.Add( new ExplorationEvent { explorationArea = explorationQuest.explorationArea, questEventBelongsTo = explorationQuest }); }
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); } } }
public void InstantiateExplorationPoint(ExplorationQuest explorationQuest) { ExplorationArea explorationArea = explorationQuest.explorationArea; Instantiate(explorationPoint, new Vector3(explorationArea.x, explorationArea.y, 0), Quaternion.identity); }