QuestWeaver
A procedural quest generator
weave::QuestModelAction Class Reference

These actions are used by the quest system to change the state of quests. More...

#include <QuestModelAction.h>

Public Member Functions

 QuestModelAction ()
 Creates a new default action (which are pretty much useless). More...
 
 QuestModelAction (const QuestActionType &actionType, ID questId)
 Creates a new action with the given type and quest ID. More...
 
QuestActionType GetActionType () const
 Returns the action that should be used on the quest state. More...
 
ID GetQuestId () const
 Returns the quest ID this action is valid for. More...
 

Detailed Description

These actions are used by the quest system to change the state of quests.

Definition at line 27 of file QuestModelAction.h.

Constructor & Destructor Documentation

weave::QuestModelAction::QuestModelAction ( )
inline

Creates a new default action (which are pretty much useless).

Definition at line 33 of file QuestModelAction.h.

weave::QuestModelAction::QuestModelAction ( const QuestActionType actionType,
ID  questId 
)
inline

Creates a new action with the given type and quest ID.

Definition at line 39 of file QuestModelAction.h.

Member Function Documentation

QuestActionType weave::QuestModelAction::GetActionType ( ) const

Returns the action that should be used on the quest state.

ID weave::QuestModelAction::GetQuestId ( ) const

Returns the quest ID this action is valid for.


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