Orxonox: orxonox::HUDTimer Class Reference

# orxonox::HUDTimer Class Reference

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

Inheritance diagram for orxonox::HUDTimer:

List of all members.

## Public Member Functions

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

## Private Attributes

ControllableEntity * | owner_

## Constructor & Destructor Documentation

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

References owner_, and RegisterObject.

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

## Member Function Documentation

void orxonox::HUDTimer::changedOwner | ( |  | ) | `[virtual]`

Reimplemented from orxonox::OrxonoxOverlay.

References orxonox::OrxonoxOverlay::getOwner(), owner_, and SUPER.

void orxonox::HUDTimer::tick | ( | float | dt | ) | `[virtual]`

Gets called every frame.

Parameters:

  | dt | The time since the last frame in seconds

Implements orxonox::Tickable.

References orxonox::BaseObject::getGametype(), orxonox::Gametype::getTime(), orxonox::Gametype::getTimerIsActive(), orxonox::OverlayText::setCaption(), and SUPER.

## Member Data Documentation

ControllableEntity* orxonox::HUDTimer::owner_`[private]`

Reimplemented from orxonox::OrxonoxOverlay.

Referenced by changedOwner(), and HUDTimer().

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

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