29 #ifndef _PartDestructionEvent_H__ 30 #define _PartDestructionEvent_H__ 107 { this->valid_ = valid; }
109 {
return this->valid_; }
113 {
return this->parent_; }
117 {
return this->targetType_; }
121 {
return this->targetName_; }
125 {
return this->targetName_; }
129 {
return this->operation_; }
133 {
return this->message_; }
135 float operate(
float input);
137 void setEventValue(
float value);
139 {
return this->value_; }
std::string getTargetName()
Definition: PartDestructionEvent.h:120
std::string getTargetParam()
Definition: PartDestructionEvent.h:124
float value_
The value used to do the operation.
Definition: PartDestructionEvent.h:152
::std::string string
Definition: gtest-port.h:756
void setValid(bool valid)
Definition: PartDestructionEvent.h:106
std::string operation_
The operation to be applied.
Definition: PartDestructionEvent.h:151
Definition: ShipPart.h:41
std::string getTargetType()
Definition: PartDestructionEvent.h:116
ShipPart * parent_
Pointer to the ShipPart this event belongs to.
Definition: PartDestructionEvent.h:145
TargetParam
List of all allowed parameters.
Definition: PartDestructionEvent.h:84
xmlelement
Definition: Super.h:519
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
std::string message_
The message which is shown in chat when the event is executed.
Definition: PartDestructionEvent.h:153
Mode
Definition: CorePrereqs.h:102
float getEventValue()
Definition: PartDestructionEvent.h:138
Shared library macros, enums, constants and forward declarations for the orxonox library ...
ShipPart * getParent()
Definition: PartDestructionEvent.h:112
#define _OrxonoxExport
Definition: OrxonoxPrereqs.h:60
bool isValid()
Definition: PartDestructionEvent.h:108
std::string getOperation()
Definition: PartDestructionEvent.h:128
std::string targetName_
The name of the target.
Definition: PartDestructionEvent.h:149
bool valid_
Whether this event is valid or not.
Definition: PartDestructionEvent.h:146
TargetParam targetParam_
The parameter to be modified.
Definition: PartDestructionEvent.h:150
std::string targetType_
The type of the target. (ship weapon engine)
Definition: PartDestructionEvent.h:148
In order to assign attached entities to a ShipPart, a ShipPart with the same name as the correspondin...
Definition: PartDestructionEvent.h:74
std::string getMessage()
Definition: PartDestructionEvent.h:132