29 #ifndef _FpsPlayer_H__ 30 #define _FpsPlayer_H__ 35 #include <LinearMath/btVector3.h> 49 virtual void tick(
float dt)
override;
50 void registerVariables();
51 void setConfigValues();
53 virtual void moveFrontBack(
const Vector2& value)
override;
54 virtual void moveRightLeft(
const Vector2& value)
override;
55 virtual void moveUpDown(
const Vector2& value)
override;
57 virtual void rotateYaw(
const Vector2& value)
override;
58 virtual void rotatePitch(
const Vector2& value)
override;
59 virtual void rotateRoll(
const Vector2& value)
override;
63 { this->meshSrc_ = meshname; this->changedMesh(); }
65 {
return this->meshSrc_; }
67 virtual void boost(
bool bBoost)
override;
71 virtual bool collidesAgainst(
WorldEntity* otherObject,
const btCollisionShape* ownCollisionShape, btManifoldPoint& contactPoint)
override;
73 virtual void addedWeaponPack(
WeaponPack* wPack)
override;
76 virtual void setPlayer(
PlayerInfo* player)
override;
77 virtual void startLocalHumanControl()
override;
Definition: FpsPlayer.h:42
Everything in Orxonox that has a health attribute is a Pawn.
Definition: Pawn.h:56
btVector3 localAngularAcceleration_
Definition: FpsPlayer.h:88
btVector3 localLinearAcceleration_
Definition: FpsPlayer.h:87
Vector3 steering_
Definition: FpsPlayer.h:82
Definition: CorePrereqs.h:309
float yaw_
Definition: FpsPlayer.h:97
Quaternion savedOrientation_
Definition: FpsPlayer.h:103
const std::string & getMeshSource() const
Definition: FpsPlayer.h:64
bool bInvertYAxis_
Definition: FpsPlayer.h:78
::std::string string
Definition: gtest-port.h:756
std::string meshSrc_
Definition: FpsPlayer.h:96
Vector3 localVelocity_
Definition: FpsPlayer.h:100
std::string weaponMashName_
Definition: FpsPlayer.h:86
The WorldEntity represents everything that can be put in a Scene at a certain location.
Definition: WorldEntity.h:72
xmlelement
Definition: Super.h:519
Declaration and implementation of several math-functions, typedefs of some Ogre::Math classes to the ...
float auxilaryThrust_
Definition: FpsPlayer.h:84
bool bPermanentBoost_
Definition: FpsPlayer.h:81
float pitch_
Definition: FpsPlayer.h:98
float rotationThrust_
Definition: FpsPlayer.h:85
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
Mode
Definition: CorePrereqs.h:102
Definition: WeaponPack.h:40
Ogre::SceneNode * weaponNode_
Definition: FpsPlayer.h:104
float primaryThrust_
Definition: FpsPlayer.h:83
CollisionType
Denotes the possible types of physical objects in a Scene.
Definition: WorldEntity.h:265
void setMeshSource(const std::string &meshname)
Definition: FpsPlayer.h:62
Shared library macros, enums, constants and forward declarations for the orxonox library ...
#define _OrxonoxExport
Definition: OrxonoxPrereqs.h:60
bool thisTickBoost_
Definition: FpsPlayer.h:102
bool bBoost_
Definition: FpsPlayer.h:80
float speed_
Definition: FpsPlayer.h:92
Mesh mesh_
Definition: FpsPlayer.h:95
float roll_
Definition: FpsPlayer.h:99
Definition: PlayerInfo.h:39
bool isFloor_
Definition: FpsPlayer.h:101