44 virtual void tick(
float dt)
override;
46 virtual void start()
override;
47 virtual void end()
override;
48 virtual void setTeams();
49 virtual void addBots(
unsigned int amount)
override{}
51 {this->lives_ = amount;}
53 {
return this->lives_;}
55 {this->missionAccomplished_ = acc;}
56 static void endMission(
bool accomplished);
57 static void setLivesWrapper(
unsigned int amount);
60 virtual void pawnKilled(
Pawn* victim,
Pawn* killer =
nullptr)
override;
Everything in Orxonox that has a health attribute is a Pawn.
Definition: Pawn.h:56
virtual ~Mission()
Definition: Mission.h:42
void setMissionAccomplished(bool acc)
Definition: Mission.h:54
Definition: TeamGametype.h:40
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
void setLives(unsigned int amount)
Definition: Mission.h:50
Shared library macros, enums, constants and forward declarations for the orxonox library ...
bool missionAccomplished_
Definition: Mission.h:61
#define _OrxonoxExport
Definition: OrxonoxPrereqs.h:60
int lives_
Definition: Mission.h:62
virtual void addBots(unsigned int amount) override
Definition: Mission.h:49
unsigned int getLives()
Definition: Mission.h:52