35 #ifndef _DodgeRace_H__ 36 #define _DodgeRace_H__ 70 virtual void start()
override;
71 virtual void end()
override;
73 virtual void tick(
float dt)
override;
75 virtual void playerPreSpawn(
PlayerInfo* player)
override;
85 { this->center_ = center; }
86 virtual void addBots(
unsigned int amount)
override{}
108 void addPoints(
int numPoints);
virtual void addBots(unsigned int amount) override
Definition: DodgeRace.h:86
bool b_combo
Definition: DodgeRace.h:113
Definition: DodgeRace.h:65
int getLevel()
Definition: DodgeRace.h:80
int getMultiplier()
Definition: DodgeRace.h:82
Definition: DodgeRaceCenterPoint.h:47
Timer endGameTimer
Definition: DodgeRace.h:102
Shared library macros, enums, constants and forward declarations for the DodgeRace module ...
bool bEndGame
Definition: DodgeRace.h:92
void toggleShowLevel()
Definition: DodgeRace.h:107
int level
Definition: DodgeRace.h:111
WeakPtr< PlayerInfo > playerInfo_
Definition: DodgeRace.h:105
std::vector< DodgeRaceCube * > cubeList
Definition: DodgeRace.h:106
WeakPtr wraps a pointer to an object, which becomes nullptr if the object is deleted.
Definition: CorePrereqs.h:236
int pattern
Definition: DodgeRace.h:97
int point
Definition: DodgeRace.h:112
Timer enemySpawnTimer
Definition: DodgeRace.h:115
Timer showLevelTimer
Definition: DodgeRace.h:117
int getPoints()
Definition: DodgeRace.h:81
float lastPosition
Definition: DodgeRace.h:99
Declaration of the Timer class, used to call functions after a given time-interval.
WeakPtr< DodgeRaceCenterPoint > center_
Definition: DodgeRace.h:110
Declaration of the DodgeRaceCenterPoint class.
int multiplier
Definition: DodgeRace.h:95
Declaration of the orxonox::Executor class and the createExecutor() functions.
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
float currentPosition
Definition: DodgeRace.h:98
Declaration of the orxonox::ConsoleCommand class.
int getLives()
Definition: DodgeRace.h:79
int lives
Definition: DodgeRace.h:94
float counter
Definition: DodgeRace.h:96
bool bShowLevel
Definition: DodgeRace.h:93
Definition: Deathmatch.h:37
void setCenterpoint(DodgeRaceCenterPoint *center)
Definition: DodgeRace.h:84
Definition: PlayerInfo.h:39
Definition: DodgeRaceShip.h:49
Timer is a helper class that executes a function after a given amount of seconds in game-time...
Definition: Timer.h:105
#define _DodgeRaceExport
Definition: DodgeRacePrereqs.h:60
Definition of the XMLPortEventState() macro, as well as some more useful macros.
Definition of macros and functions for config-values.
Timer comboTimer
Definition: DodgeRace.h:116