37 #ifndef _QuestItem_H__ 38 #define _QuestItem_H__ 79 {
return this->description_; }
86 {
return this->registered_; }
91 { this->registered_ =
true; }
101 { this->description_ = description; }
The BaseObject is the parent of all classes representing an instance in the game. ...
Definition: BaseObject.h:63
void setRegistered(void)
Set the QuestItem as being registered with the QuestManager.
Definition: QuestItem.h:90
bool isRegistered(void)
Check whether the QuestItem is registered with the QuestManager.
Definition: QuestItem.h:85
::std::string string
Definition: gtest-port.h:756
const std::string & getId(void) const
Returns the id of this QuestItem.
Definition: QuestItem.h:71
Definition of the QuestManager class.
xmlelement
Definition: Super.h:519
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
This class is a description of a QuestItem (Quest and QuestHint).
Definition: QuestDescription.h:62
Mode
Definition: CorePrereqs.h:102
Shared library macros, enums, constants and forward declarations for the questsystem module ...
Declaration of BaseObject, the base class of all objects in Orxonox.
QuestDescription * getDescription(void) const
Returns the QuestDescription of the QuestItem.
Definition: QuestItem.h:78
QuestDescription * description_
The QuestDescription of the QuestItem.
Definition: QuestItem.h:105
std::string id_
Identifier. Must be unique.
Definition: QuestItem.h:104
void setDescription(QuestDescription *description)
Sets the description of the QuestItem.
Definition: QuestItem.h:100
bool registered_
Whether the QuestItem is registered with the QuestManager.
Definition: QuestItem.h:107
Functions as a base class for quest classes such as Quest or QuestHint.
Definition: QuestItem.h:58
#define _QuestsystemExport
Definition: QuestsystemPrereqs.h:60