35 #ifndef _QuestEffectBeacon_H__ 36 #define _QuestEffectBeacon_H__ 96 virtual void XMLEventPort(Element& xmlelement,
XMLPort::Mode mode)
override;
98 bool execute(
bool bTriggered,
BaseObject* trigger);
107 bool setActive(
bool activate);
110 bool decrementTimes(
void);
117 {
return this->times_; }
120 static const int INFINITE_TIME = -1;
126 bool setTimes(
const int & n);
129 const QuestEffect* getEffect(
unsigned int index)
const;
The BaseObject is the parent of all classes representing an instance in the game. ...
Definition: BaseObject.h:63
The StaticEntity is the simplest derivative of the orxonox::WorldEntity class.
Definition: StaticEntity.h:50
int times_
Number of times the beacon can be exectued.
Definition: QuestEffectBeacon.h:123
const int & getTimes(void) const
Returns the number of times the QUestEffectBeacon can still be executed.
Definition: QuestEffectBeacon.h:116
A QuestEffectBeacon is a physical entity in the game which can (under some condition(s)) invoke a num...
Definition: QuestEffectBeacon.h:89
xmlelement
Definition: Super.h:519
Handles QuestEffects for Quests.
Definition: QuestEffect.h:56
bool isActive(void)
Tests whether the QuestEffectBeacon is active.
Definition: QuestEffectBeacon.h:104
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
Mode
Definition: CorePrereqs.h:102
Shared library macros, enums, constants and forward declarations for the questsystem module ...
QuestEffectBeaconStatus
The status of the QuestEffectBeacon, can be either active or inactive.
Definition: QuestEffectBeacon.h:52
QuestEffectBeaconStatus status_
The status of the QuestEffectBeacon, Can be eighter active or inactive.
Definition: QuestEffectBeacon.h:124
std::list< QuestEffect * > effects_
The list of QuestEffects to be invoked on the executing player.
Definition: QuestEffectBeacon.h:122
#define _QuestsystemExport
Definition: QuestsystemPrereqs.h:60