29 #ifndef _TeamBaseMatch_H__ 30 #define _TeamBaseMatch_H__ 46 virtual bool allowPawnDeath(
Pawn* victim,
Pawn* originator =
nullptr)
override;
47 virtual bool allowPawnDamage(
Pawn* victim,
Pawn* originator)
override;
49 virtual void playerScored(
PlayerInfo* player,
int score = 1)
override;
50 virtual void showPoints();
51 virtual void endGame();
56 void addTeamPoints(
int team,
int points);
57 int getTeamPoints(
int team);
58 int getTeamBases(
int team);
Everything in Orxonox that has a health attribute is a Pawn.
Definition: Pawn.h:56
Definition: TeamBaseMatch.h:40
std::set< TeamBaseMatchBase * > bases_
Definition: TeamBaseMatch.h:66
int pointsTeam1_
Definition: TeamBaseMatch.h:71
Timer outputTimer_
Definition: TeamBaseMatch.h:68
Declaration of the Timer class, used to call functions after a given time-interval.
Definition: TeamBaseMatchBase.h:46
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
Timer scoreTimer_
Definition: TeamBaseMatch.h:67
int pointsTeam2_
Definition: TeamBaseMatch.h:72
Definition: TeamDeathmatch.h:37
Shared library macros, enums, constants and forward declarations for the orxonox library ...
#define _OrxonoxExport
Definition: OrxonoxPrereqs.h:60
virtual ~TeamBaseMatch()
Definition: TeamBaseMatch.h:44
Definition: PlayerInfo.h:39
Timer is a helper class that executes a function after a given amount of seconds in game-time...
Definition: Timer.h:105
bool pawnsAreInTheSameTeam(Pawn *pawn1, Pawn *pawn2)
Definition: TeamGametype.cc:290