35 #ifndef _FlappyOrxShip_H__ 36 #define _FlappyOrxShip_H__ 53 virtual void tick(
float dt)
override;
56 virtual void boost(
bool bBoost)
override;
58 inline void setSpeedBase(
float speedBase){ getGame()->setSpeedBase(speedBase);}
60 inline void setSpeedIncrease(
float speedIncrease){ getGame()->setSpeedIncrease(speedIncrease);}
63 inline void setTubeDistanceBase(
float tubeDistanceBase){ getGame()->setTubeDistanceBase(tubeDistanceBase);}
65 inline void setTubeDistanceIncrease(
float tubeDistanceIncrease){ getGame()->setTubeDistanceIncrease(tubeDistanceIncrease);}
68 inline void setUpwardthrust(
float upwardThrust ){ this->upwardThrust = upwardThrust; }
70 inline void setGravity(
float gravity ){ this->gravity = gravity; }
73 inline void setSpeed(
float speed ){ this->speed = speed; }
74 inline float getSpeed( ){
return this->speed; }
77 virtual time_t timeUntilRespawn();
83 virtual void death()
override;
float getGravity()
Definition: FlappyOrxShip.h:71
void setTubeDistanceBase(float tubeDistanceBase)
Definition: FlappyOrxShip.h:63
Definition: CorePrereqs.h:309
void setSpeedBase(float speedBase)
Definition: FlappyOrxShip.h:58
float getSpeed()
Definition: FlappyOrxShip.h:74
void setTubeDistanceIncrease(float tubeDistanceIncrease)
Definition: FlappyOrxShip.h:65
ParticleSpawner * particlespawner_
Definition: FlappyOrxShip.h:87
bool isFlapping
Definition: FlappyOrxShip.h:88
Shared library macros, enums, constants and forward declarations for the weapons module ...
#define _FlappyOrxExport
Definition: FlappyOrxPrereqs.h:61
Definition: ParticleSpawner.h:39
Definition: FlappyOrx.h:63
time_t deathTime
Definition: FlappyOrxShip.h:93
void setUpwardthrust(float upwardThrust)
Definition: FlappyOrxShip.h:68
WeakPtr wraps a pointer to an object, which becomes nullptr if the object is deleted.
Definition: CorePrereqs.h:236
float particleLifespan
Definition: FlappyOrxShip.h:92
xmlelement
Definition: Super.h:519
The SpaceShip is the principal entity through which the player interacts with the game...
Definition: SpaceShip.h:90
float getTubeDistanceIncrease()
Definition: FlappyOrxShip.h:66
bool isDead
Definition: FlappyOrxShip.h:89
float velocity
Definition: FlappyOrxShip.h:90
float getUpwardthrust()
Definition: FlappyOrxShip.h:69
float getSpeedBase()
Definition: FlappyOrxShip.h:59
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
Mode
Definition: CorePrereqs.h:102
WeakPtr< FlappyOrx > game
Definition: FlappyOrxShip.h:86
void setSpeedIncrease(float speedIncrease)
Definition: FlappyOrxShip.h:60
float getSpeedIncrease()
Definition: FlappyOrxShip.h:61
Shared library macros, enums, constants and forward declarations for the FlappyOrx module ...
void setSpeed(float speed)
Definition: FlappyOrxShip.h:73
void setGravity(float gravity)
Definition: FlappyOrxShip.h:70
float upwardThrust
Definition: FlappyOrxShip.h:91
Definition: FlappyOrxShip.h:48
float getTubeDistanceBase()
Definition: FlappyOrxShip.h:64