40 #ifndef _Asteroids2D_H__ 41 #define _Asteroids2D_H__ 56 virtual void start()
override;
57 virtual void end()
override;
60 virtual void tick(
float dt)
override;
62 virtual void playerPreSpawn(
PlayerInfo* player)
override;
77 void addPoints(
int numPoints);
78 virtual void addBots(
unsigned int amount)
override{}
int lives
Definition: Asteroids2D.h:88
Definition: Asteroids2D.h:51
Timer showLevelTimer
Definition: Asteroids2D.h:105
Definition: Asteroids2DCenterPoint.h:44
bool bEndGame
Definition: Asteroids2D.h:86
int getPoints()
Definition: Asteroids2D.h:70
WeakPtr< PlayerInfo > playerInfo_
Definition: Asteroids2D.h:96
Definition: Asteroids2DShip.h:45
Timer comboTimer
Definition: Asteroids2D.h:104
WeakPtr wraps a pointer to an object, which becomes nullptr if the object is deleted.
Definition: CorePrereqs.h:236
WeakPtr< Asteroids2DCenterPoint > center_
Definition: Asteroids2D.h:99
Timer levelupTimer
Definition: Asteroids2D.h:106
int getLives()
Definition: Asteroids2D.h:68
Declaration of the Timer class, used to call functions after a given time-interval.
Shared library macros, enums, constants and forward declarations for the Asteroids2D module ...
int point
Definition: Asteroids2D.h:101
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
#define _Asteroids2DExport
Definition: Asteroids2DPrereqs.h:60
int getMultiplier()
Definition: Asteroids2D.h:71
int multiplier
Definition: Asteroids2D.h:89
int getLevel()
Definition: Asteroids2D.h:69
virtual void addBots(unsigned int amount) override
Definition: Asteroids2D.h:78
bool bShowLevel
Definition: Asteroids2D.h:87
void toggleShowLevel()
Definition: Asteroids2D.h:97
Definition: Deathmatch.h:37
Definition: PlayerInfo.h:39
Timer endGameTimer
Definition: Asteroids2D.h:107
bool firstTick_
Definition: Asteroids2D.h:102
Timer is a helper class that executes a function after a given amount of seconds in game-time...
Definition: Timer.h:105
int level
Definition: Asteroids2D.h:100