30 #ifndef _MultiStateEngine_H__ 31 #define _MultiStateEngine_H__ 45 static constexpr
int Idle = 1;
47 static constexpr
int Brake = 4;
48 static constexpr
int Boost = 8;
56 virtual void run(
float dt)
override;
58 virtual void addToSpaceShip(
SpaceShip* ship)
override;
63 void setDefEngSndNormal(
const std::string& engineSound);
65 void setDefEngSndBoost(
const std::string& engineSound);
69 void registerVariables();
int oldState_
Definition: MultiStateEngine.h:72
Definition: Synchronisable.h:65
LuaState * lua_
Definition: MultiStateEngine.h:73
Definition: MultiStateEngine.h:43
The WorldSound class is to be used for sounds with position and orientation.
Definition: WorldSound.h:44
::std::string string
Definition: gtest-port.h:756
Representation of an interface to lua.
Definition: LuaState.h:74
WorldSound * defEngineSndNormal_
Definition: MultiStateEngine.h:75
Definition: MultiStateEngine.h:40
xmlelement
Definition: Super.h:519
The SpaceShip is the principal entity through which the player interacts with the game...
Definition: SpaceShip.h:90
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 ...
int state_
Definition: MultiStateEngine.h:71
#define _OrxonoxExport
Definition: OrxonoxPrereqs.h:60
std::vector< EffectContainer * > effectContainers_
Definition: MultiStateEngine.h:74
The Engine class provides propulsion to the SpaceShip.
Definition: Engine.h:55
WorldSound * defEngineSndBoost_
Definition: MultiStateEngine.h:76
Definition: EffectContainer.h:39