29 #ifndef _Actionpoint_H__ 30 #define _Actionpoint_H__ 106 {
return this->actionName_; }
110 { this->
name_ = val; }
112 {
return this->
name_; }
116 { this->
name_ = val; }
118 {
return this->
name_; }
122 { this->bProtectMe_ = c; }
124 {
return this->bProtectMe_; }
128 { this->bLoopStart_ = value; }
130 {
return this->bLoopStart_; }
133 { this->bLoopEnd_ = value; }
135 {
return this->bLoopEnd_; }
std::string getActionXML() const
Definition: Actionpoint.h:105
bool bLoopEnd_
if true, this is the last element of a loop started by loopStart=true argument
Definition: Actionpoint.h:151
The StaticEntity is the simplest derivative of the orxonox::WorldEntity class.
Definition: StaticEntity.h:50
bool getProtectMeXML() const
Definition: Actionpoint.h:123
::std::string string
Definition: gtest-port.h:756
void setActionXML(std::string val)
Decides what AI will do.
Definition: Actionpoint.h:103
Declaration of the XMLPort helper classes and macros.
std::string getProtectXML() const
Definition: Actionpoint.h:111
void setProtectMeXML(bool c)
Makes AI follow human player.
Definition: Actionpoint.h:121
bool getLoopStart() const
Definition: Actionpoint.h:129
bool bLoopStart_
if true, this and all following Actionpoints until the first Actionpoint with bLoopEnd_ set to true a...
Definition: Actionpoint.h:147
xmlelement
Definition: Super.h:519
Actionpoints are used by ActionpointController and all derived classes.
Definition: Actionpoint.h:94
void setAttackXML(std::string val)
Makes AI attack an entity.
Definition: Actionpoint.h:115
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
std::string name_
name of the ship that is to be attacked or protected.
Definition: Actionpoint.h:144
Mode
Definition: CorePrereqs.h:102
std::string actionName_
can be set to "FLY", "ATTACK", "PROTECT", "FIGHT", "FIGHTALL" or "NONE".
Definition: Actionpoint.h:140
#define _OrxonoxExport
Definition: OrxonoxPrereqs.h:60
void setLoopStart(bool value)
Starts a loop of Actionpoints.
Definition: Actionpoint.h:127
bool bProtectMe_
if player is to be protected, instead of passing name, one has to set protectMe to true...
Definition: Actionpoint.h:154
void setLoopEnd(bool value)
Ends a loop of Actionpoints.
Definition: Actionpoint.h:132
bool getLoopEnd() const
Definition: Actionpoint.h:134
std::string getUppercase(const std::string &str)
Returns a copy of the given string where all chars are converted to uppercase.
Definition: StringUtils.cc:356
std::string getAttackXML() const
Definition: Actionpoint.h:117
internal::String name_
Definition: gtest.cc:2289
void setProtectXML(std::string val)
Makes AI follow an entity.
Definition: Actionpoint.h:109