orxonox::UnderAttack Class Reference

#include <src/orxonox/objects/gametypes/UnderAttack.h>

Inheritance diagram for orxonox::UnderAttack:

orxonox::TeamDeathmatch orxonox::PawnListener orxonox::Deathmatch orxonox::OrxonoxClass orxonox::Gametype orxonox::BaseObject orxonox::Tickable orxonox::OrxonoxClass orxonox::OrxonoxClass

List of all members.

Public Member Functions

void addDestroyer (Destroyer *destroyer)
virtual bool allowPawnDamage (Pawn *victim, Pawn *originator=0)
virtual bool allowPawnDeath (Pawn *victim, Pawn *originator=0)
virtual bool allowPawnHit (Pawn *victim, Pawn *originator=0)
DestroyergetDestroyer () const
void setConfigValues ()
 Function to collect the SetConfigValue-macro calls.
void tick (float dt)
 Gets called every frame.
 UnderAttack (BaseObject *creator)
virtual ~UnderAttack ()

Protected Member Functions

virtual void destroyedPawn (Pawn *pawn)

Protected Attributes

Destroyerdestroyer_
bool gameEnded_
float gameTime_
unsigned int teams_
int timesequence_


Constructor & Destructor Documentation

orxonox::UnderAttack::UnderAttack ( BaseObject creator  ) 

virtual orxonox::UnderAttack::~UnderAttack (  )  [inline, virtual]


Member Function Documentation

void orxonox::UnderAttack::addDestroyer ( Destroyer destroyer  ) 

References destroyer_.

Referenced by orxonox::Destroyer::Destroyer().

bool orxonox::UnderAttack::allowPawnDamage ( Pawn victim,
Pawn originator = 0 
) [virtual]

bool orxonox::UnderAttack::allowPawnDeath ( Pawn victim,
Pawn originator = 0 
) [virtual]

bool orxonox::UnderAttack::allowPawnHit ( Pawn victim,
Pawn originator = 0 
) [virtual]

void orxonox::UnderAttack::destroyedPawn ( Pawn pawn  )  [protected, virtual]

Destroyer* orxonox::UnderAttack::getDestroyer (  )  const [inline]

void orxonox::UnderAttack::setConfigValues (  ) 

Function to collect the SetConfigValue-macro calls.

Reimplemented from orxonox::TeamDeathmatch.

References gameTime_, and SetConfigValue.

Referenced by UnderAttack().

void orxonox::UnderAttack::tick ( float  dt  )  [virtual]


Member Data Documentation

Referenced by setConfigValues(), tick(), and UnderAttack().

unsigned int orxonox::UnderAttack::teams_ [protected]

Reimplemented from orxonox::TeamDeathmatch.

Referenced by UnderAttack().

Referenced by tick(), and UnderAttack().


The documentation for this class was generated from the following files:

Generated on Tue Jul 28 16:23:12 2009 for Orxonox by  doxygen 1.5.6