Orxonox: orxonox::AnnounceMessage Class Reference

# orxonox::AnnounceMessage Class Reference

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

Inheritance diagram for orxonox::AnnounceMessage:

List of all members.

## Public Member Functions

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

## Private Attributes

PlayerInfo * | owner_

## Constructor & Destructor Documentation

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

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

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

## Member Function Documentation

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

Reimplemented from orxonox::GametypeMessageListener.

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

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

Reimplemented from orxonox::OrxonoxOverlay.

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

## Member Data Documentation

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

Reimplemented from orxonox::OrxonoxOverlay.

Referenced by announcemessage(), AnnounceMessage(), and changedOwner().

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

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