Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
QuestManager Class Reference

#include <QuestManager.h>

Public Member Functions

 QuestManager ()
 
virtual ~QuestManager ()
 
void AddQuest (std::unique_ptr< Quest > q)
 
const std::vector< std::unique_ptr< Quest > > & GetQuests () const
 

Static Public Member Functions

static QuestManagerGetInstance ()
 
static QuestManagerGet ()
 

Private Attributes

string name
 
std::vector< std::unique_ptr< Quest > > quests
 

Detailed Description

Definition at line 13 of file QuestManager.h.

Constructor & Destructor Documentation

◆ QuestManager()

QuestManager::QuestManager ( )
inline

Definition at line 16 of file QuestManager.h.

References name, and SYSTEM_LOG.

◆ ~QuestManager()

virtual QuestManager::~QuestManager ( )
inlinevirtual

Definition at line 21 of file QuestManager.h.

References SYSTEM_LOG.

Member Function Documentation

◆ AddQuest()

void QuestManager::AddQuest ( std::unique_ptr< Quest q)
inline

Definition at line 33 of file QuestManager.h.

References GetComponentTypeID_Static(), and quests.

Referenced by from_json().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Get()

static QuestManager & QuestManager::Get ( )
inlinestatic

Definition at line 31 of file QuestManager.h.

References GetInstance().

Referenced by from_json(), and to_json().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetInstance()

static QuestManager & QuestManager::GetInstance ( )
inlinestatic

Definition at line 26 of file QuestManager.h.

References GetComponentTypeID_Static().

Referenced by Get().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetQuests()

const std::vector< std::unique_ptr< Quest > > & QuestManager::GetQuests ( ) const
inline

Definition at line 38 of file QuestManager.h.

References quests.

Referenced by to_json().

+ Here is the caller graph for this function:

Member Data Documentation

◆ name

string QuestManager::name
private

Definition at line 41 of file QuestManager.h.

Referenced by QuestManager().

◆ quests

std::vector<std::unique_ptr<Quest> > QuestManager::quests
private

Definition at line 42 of file QuestManager.h.

Referenced by AddQuest(), and GetQuests().


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