CardRPG 1.0
 
Loading...
Searching...
No Matches
CardRPG.QuestManager Class Reference

A manager for handling quests in the game. More...

Inheritance diagram for CardRPG.QuestManager:

Public Member Functions

void StartQuest (Quest quest)
 Starts a quest.
 
void CompleteCurrentAction ()
 Completes the current action stage of the quest.
 
void MarkQuestAsCompleted (Quest completedQuest)
 Marks a quest as completed and updates the quest menu.
 
void UpdateAvailableQuests (string world)
 Updates the available quests list using completed quests as a reference.
 

Public Attributes

int currentStageIndex
 The index of the current stage in the quest.
 
Quest tutorialQuests
 The starting quest for the tutorial.
 

Static Public Attributes

static QuestManager Instance
 

Properties

Quest CurrentQuest [get]
 The current quest.
 
Quest SaveQuest [get, set]
 The quest that is saved for resuming later.
 
int SaveStage [get, set]
 The stage index to resume from when the game is saved.
 
List< QuestAvailableQuests [get]
 Gets the list of available quests.
 
List< QuestCompletedQuests [get, set]
 Gets the list of completed quests.
 

Detailed Description

A manager for handling quests in the game.

Member Function Documentation

◆ MarkQuestAsCompleted()

void CardRPG.QuestManager.MarkQuestAsCompleted ( Quest completedQuest)
inline

Marks a quest as completed and updates the quest menu.

Parameters
completedQuestThe completed quest.

◆ StartQuest()

void CardRPG.QuestManager.StartQuest ( Quest quest)
inline

Starts a quest.

Parameters
quest

The documentation for this class was generated from the following file: