29 #ifndef _ModularSpaceShip_H__ 30 #define _ModularSpaceShip_H__ 35 #include <LinearMath/btVector3.h> 111 virtual void damage(
float damage,
float healthdamage = 0.0f,
float shielddamage = 0.0f,
Pawn* originator =
nullptr,
const btCollisionShape* cs =
nullptr);
117 ShipPart* getShipPart(
unsigned int index);
119 bool hasShipPart(
ShipPart* part)
const;
120 void removeShipPart(
ShipPart* part);
123 { this->rotationThrust_ = val; }
125 {
return this->rotationThrust_; }
127 virtual void updatePartAssignment();
133 void registerVariables();
Everything in Orxonox that has a health attribute is a Pawn.
Definition: Pawn.h:56
The SpaceShip is the principal entity through which the player interacts with the game...
Definition: ModularSpaceShip.h:100
The StaticEntity is the simplest derivative of the orxonox::WorldEntity class.
Definition: StaticEntity.h:50
::std::string string
Definition: gtest-port.h:756
static std::map< StaticEntity *, ShipPart * > * partMap_s
Definition: ModularSpaceShip.h:136
Definition: ShipPart.h:41
std::map< StaticEntity *, ShipPart * > partMap_
Definition: ModularSpaceShip.h:135
void setRotationThrust(float val)
Definition: ModularSpaceShip.h:122
xmlelement
Definition: Super.h:519
The SpaceShip is the principal entity through which the player interacts with the game...
Definition: SpaceShip.h:90
Declaration and implementation of several math-functions, typedefs of some Ogre::Math classes to the ...
Declaration of the Timer class, used to call functions after a given time-interval.
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 orxonox library ...
#define _OrxonoxExport
Definition: OrxonoxPrereqs.h:60
std::vector< ShipPart * > partList_
Definition: ModularSpaceShip.h:134
float getRotationThrust()
Definition: ModularSpaceShip.h:124
Declaration of custom assertion facilities