Orxonox: orxonox::DeathMessage Class Reference

# orxonox::DeathMessage Class Reference

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

Inheritance diagram for orxonox::DeathMessage:

List of all members.

## Public Member Functions

virtual void | changedOwner ()
void | deathmessage (const GametypeInfo *gtinfo, const std::string &message)
| DeathMessage (BaseObject *creator)
virtual | ~DeathMessage ()

## Private Attributes

PlayerInfo * | owner_

## Constructor & Destructor Documentation

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

References owner_, RegisterObject, orxonox::FadeoutText::setDelay(), and orxonox::FadeoutText::setFadeouttime().

virtual orxonox::DeathMessage::~DeathMessage | ( |  | ) | `[inline, virtual]`

## Member Function Documentation

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

Reimplemented from orxonox::OrxonoxOverlay.

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

void orxonox::DeathMessage::deathmessage | ( | const GametypeInfo * | gtinfo,
|  | const std::string & | message |
| ) |  |  | `[virtual]`

Reimplemented from orxonox::GametypeMessageListener.

References orxonox::PlayerInfo::getGametypeInfo(), owner_, and orxonox::OverlayText::setCaption().

## Member Data Documentation

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

Reimplemented from orxonox::OrxonoxOverlay.

Referenced by changedOwner(), deathmessage(), and DeathMessage().

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

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