53             virtual void tick(
float dt) 
override; 
    56             virtual void moveFrontBack(
const Vector2& value) 
override;
    57             virtual void moveRightLeft(
const Vector2& value) 
override;
    58             virtual void moveUpDown(
const Vector2& value) 
override;
    60             virtual void rotateYaw(
const Vector2& value) 
override;
    61             virtual void rotatePitch(
const Vector2& value) 
override;
    62             virtual void rotateRoll(
const Vector2& value) 
override;
    69             { this->moveFrontBack(Vector2(value, 0)); }
    75             { this->moveRightLeft(Vector2(value, 0)); }
    81             { this->moveUpDown(Vector2(value, 0)); }
    88             { this->rotateYaw(Vector2(value, 0)); }
    94             { this->rotatePitch(Vector2(value, 0)); }
   100             { this->rotateRoll(Vector2(value, 0)); }
   107                 { this->primaryThrust_=thrust; }
   109                 { this->auxilaryThrust_=thrust; }
   111                 { this->rotationThrust_=thrust; }
   113                 { this->maxDistanceToOwner_=distance; }
   115                 { this->minDistanceToOwner_=distance; }
   117                 { this->maxShootingRange_=distance; }
   125                 { 
return this->primaryThrust_; }
   127                 { 
return this->auxilaryThrust_; }
   129                 { 
return this->rotationThrust_; }
   131                 { 
return this->maxDistanceToOwner_; }
   133                 { 
return this->minDistanceToOwner_; }
   135                 { 
return this->maxShootingRange_; }
 Everything in Orxonox that has a health attribute is a Pawn. 
Definition: Pawn.h:56
 
Controller for the Drone of the PPS tutorial. 
Definition: DroneController.h:49
 
void rotateRoll(float value)
Rotates the Drone around the z-axis by the specifed amount. 
Definition: Drone.h:99
 
void rotateYaw(float value)
Rotates the Drone around the y-axis by the specifed amount. 
Definition: Drone.h:87
 
float maxDistanceToOwner_
Definition: Drone.h:145
 
void setMaxShootingRange(float distance)
Definition: Drone.h:116
 
void setMaxDistanceToOwner(float distance)
Definition: Drone.h:112
 
void moveFrontBack(float value)
Moves the Drone in the Front/Back-direction by the specifed amount. 
Definition: Drone.h:68
 
float getPrimaryThrust()
Gets the primary thrust to the input amount. 
Definition: Drone.h:124
 
xmlelement
Definition: Super.h:519
 
void moveUpDown(float value)
Moves the Drone in the Up/Down-direction by the specifed amount. 
Definition: Drone.h:80
 
DroneController * myController_
The controller of the Drone. 
Definition: Drone.h:138
 
float primaryThrust_
The amount of primary thrust. This is just used, when moving forward. 
Definition: Drone.h:142
 
float auxilaryThrust_
The amount of auxilary thrust. Used for all other movements (except for rotations). 
Definition: Drone.h:143
 
Die Wagnis Klasse hat die folgenden Aufgaben: 
Definition: ApplicationPaths.cc:66
 
Mode
Definition: CorePrereqs.h:102
 
void setAuxilaryThrust(float thrust)
Definition: Drone.h:108
 
Shared library macros, enums, constants and forward declarations for the orxonox library  ...
 
float getMaxDistanceToOwner()
Definition: Drone.h:130
 
#define _OrxonoxExport
Definition: OrxonoxPrereqs.h:60
 
float maxShootingRange_
Definition: Drone.h:147
 
void setRotationThrust(float thrust)
Definition: Drone.h:110
 
void setMinDistanceToOwner(float distance)
Definition: Drone.h:114
 
float getMaxShootingRange()
Definition: Drone.h:134
 
btVector3 localLinearAcceleration_
The linear acceleration that is used to move the Drone the next tick. 
Definition: Drone.h:140
 
float getAuxilaryThrust()
Definition: Drone.h:126
 
void moveRightLeft(float value)
Moves the Drone in the Right/Left-direction by the specifed amount. 
Definition: Drone.h:74
 
float getRotationThrust()
Definition: Drone.h:128
 
void rotatePitch(float value)
Rotates the Drone around the x-axis by the specifed amount. 
Definition: Drone.h:93
 
void setPrimaryThrust(float thrust)
Sets the primary thrust to the input amount. 
Definition: Drone.h:106
 
float getMinDistanceToOwner()
Definition: Drone.h:132
 
btVector3 localAngularAcceleration_
The linear angular acceleration that is used to move the Drone the next tick. 
Definition: Drone.h:141
 
Drone, that is made to move upon a specified pattern. 
Definition: Drone.h:46
 
float rotationThrust_
The amount of rotation thrust. Used for rotations only. 
Definition: Drone.h:144
 
float minDistanceToOwner_
Definition: Drone.h:146