QuestWeaver
A procedural quest generator
Quest API

Classes

class  weave::Quest
 Represents a game quest. More...
 
class  weave::QuestTemplateFactory
 A factory that is able to create different "types" of quests (quest templates) on demand. More...
 
class  weave::QuestTickResult
 Event generated by a quest when ticked by the game. More...
 

Enumerations

enum  weave::QuestState {
  weave::QuestState::Unknown, weave::QuestState::Inactive, weave::QuestState::Active, weave::QuestState::Failed,
  weave::QuestState::Success
}
 Defines the different states a quest can have. More...
 

Detailed Description

Enumeration Type Documentation

enum weave::QuestState
strong

Defines the different states a quest can have.

Enumerator
Unknown 

Default value used when the quest system does not know the state for a given quest (e.g.

unknown ID).

Inactive 

The initial state of all newly created quests.

The player has not yet started the quest.

Quests are only allowed to change their state to Active from this state.

Active 

The player started the quest and is actively pursuing it.

A quest in this state is not allowed to go back into the Inactive state.

Failed 

Represents a quest the player has failed.

Final state that cannot be changed any more.

Success 

Represents a quest the player has successfully completed.

Final state that cannot be changed any more.

Definition at line 20 of file Quest.h.