#include <src/orxonox/objects/worldentities/pawns/TeamBaseMatchBase.h>
Public Member Functions | |
BaseState::Value | getState () const |
void | setState (BaseState::Value state) |
TeamBaseMatchBase (BaseObject *creator) | |
virtual | ~TeamBaseMatchBase () |
Protected Member Functions | |
void | changeTeamColour () |
Protected Attributes | |
BaseState::Value | state_ |
orxonox::TeamBaseMatchBase::TeamBaseMatchBase | ( | BaseObject * | creator | ) |
virtual orxonox::TeamBaseMatchBase::~TeamBaseMatchBase | ( | ) | [inline, virtual] |
void orxonox::TeamBaseMatchBase::changeTeamColour | ( | ) | [protected] |
References Class, orxonox::MT_Type::ColourValue, orxonox::BaseState::ControlTeam1, orxonox::BaseState::ControlTeam2, orxonox::BaseObject::fireEvent(), orxonox::WorldEntity::getAttachedObjects(), orxonox::BaseObject::getGametype(), orxonox::TeamDeathmatch::getTeamColour(), orxonox::RadarViewable::setRadarObjectColour(), orxonox::TeamColourable::setTeamColour(), state_, and orxonox::BaseState::Uncontrolled.
BaseState::Value orxonox::TeamBaseMatchBase::getState | ( | ) | const [inline] |
void orxonox::TeamBaseMatchBase::setState | ( | BaseState::Value | state | ) | [inline] |
Referenced by orxonox::TeamBaseMatch::addBase(), and orxonox::TeamBaseMatch::allowPawnDeath().
BaseState::Value orxonox::TeamBaseMatchBase::state_ [protected] |
Reimplemented from orxonox::Synchronisable.
Referenced by changeTeamColour(), and TeamBaseMatchBase().