#include <src/orxonox/overlays/hud/GametypeStatus.h>
Public Member Functions | |
virtual void | changedOwner () |
GametypeStatus (BaseObject *creator) | |
virtual void | tick (float dt) |
Gets called every frame. | |
virtual | ~GametypeStatus () |
Private Attributes | |
PlayerInfo * | owner_ |
orxonox::GametypeStatus::GametypeStatus | ( | BaseObject * | creator | ) |
References owner_, and RegisterObject.
orxonox::GametypeStatus::~GametypeStatus | ( | ) | [virtual] |
void orxonox::GametypeStatus::changedOwner | ( | ) | [virtual] |
Reimplemented from orxonox::OrxonoxOverlay.
References orxonox::OrxonoxOverlay::getOwner(), owner_, and SUPER.
void orxonox::GametypeStatus::tick | ( | float | dt | ) | [virtual] |
Gets called every frame.
dt | The time since the last frame in seconds |
Implements orxonox::Tickable.
References Class, orxonox::PlayerInfo::getControllableEntity(), orxonox::PlayerInfo::getGametypeInfo(), orxonox::GametypeInfo::getStartCountdown(), orxonox::GametypeInfo::hasEnded(), orxonox::GametypeInfo::hasStarted(), orxonox::OrxonoxClass::isA(), orxonox::PlayerInfo::isReadyToSpawn(), orxonox::GametypeInfo::isStartCountdownRunning(), owner_, orxonox::OverlayText::setCaption(), and SUPER.
PlayerInfo* orxonox::GametypeStatus::owner_ [private] |
Reimplemented from orxonox::OrxonoxOverlay.
Referenced by changedOwner(), GametypeStatus(), and tick().