Orxonox: orxonox::GametypeStatus Class Reference

# orxonox::GametypeStatus Class Reference

`#include <src/orxonox/overlays/hud/GametypeStatus.h>`

Inheritance diagram for orxonox::GametypeStatus:

List of all members.

## Public Member Functions

virtual void | changedOwner ()
| GametypeStatus (BaseObject *creator)
virtual void | tick (float dt)
| Gets called every frame.
virtual | ~GametypeStatus ()

## Private Attributes

PlayerInfo * | owner_

## Constructor & Destructor Documentation

orxonox::GametypeStatus::GametypeStatus | ( | BaseObject * | creator | ) |

References owner_, and RegisterObject.

orxonox::GametypeStatus::~GametypeStatus | ( |  | ) | `[virtual]`

## Member Function Documentation

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.

Parameters:

  | 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.

## Member Data Documentation

PlayerInfo* orxonox::GametypeStatus::owner_`[private]`

Reimplemented from orxonox::OrxonoxOverlay.

Referenced by changedOwner(), GametypeStatus(), and tick().

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

- src/orxonox/overlays/hud/GametypeStatus.h
- src/orxonox/overlays/hud/GametypeStatus.cc