29 #ifndef _HumanController_H__ 30 #define _HumanController_H__ 49 virtual void tick(
float dt)
override;
51 static void moveFrontBack(
const Vector2& value);
52 static void moveRightLeft(
const Vector2& value);
53 static void moveUpDown(
const Vector2& value);
55 static void rotateYaw(
const Vector2& value);
56 static void rotatePitch(
const Vector2& value);
57 static void rotateRoll(
const Vector2& value);
59 virtual void frontback(
const Vector2& value);
60 virtual void yaw(
const Vector2& value);
61 virtual void pitch(
const Vector2& value);
63 static void fire(
unsigned int firemode);
64 virtual void doFire(
unsigned int firemode);
67 static void boost(
const Vector2& value);
68 void startBoosting(
void);
69 void stopBoosting(
void);
72 static void switchCamera();
73 static void mouseLook();
74 static void cycleNavigationFocus();
75 static void releaseNavigationFocus();
77 static void suicide();
78 static void toggleGodMode();
79 static void myposition();
81 static void toggleFormationFlight();
82 static void FFChangeMode();
84 static void pauseControl();
85 static void resumeControl();
91 static Pawn* getLocalControllerEntityAsPawn();
Everything in Orxonox that has a health attribute is a Pawn.
Definition: Pawn.h:56
static HumanController * getLocalControllerSingleton()
Definition: HumanController.h:89
virtual void doPauseControl()
Definition: HumanController.h:86
bool controlPaused_
Definition: HumanController.h:95
Definition: CorePrereqs.h:309
Declaration of the Tickable interface.
virtual void doResumeControl()
Definition: HumanController.h:87
static HumanController * localController_s
Definition: HumanController.h:94
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
Shared library macros, enums, constants and forward declarations for the orxonox library ...
Definition: HumanController.h:41
#define _OrxonoxExport
Definition: OrxonoxPrereqs.h:60
The Tickable interface provides a tick(dt) function, that gets called every frame.
Definition: Tickable.h:52