orxonox::UnderAttackHealthBar Class Reference

#include <src/orxonox/overlays/hud/UnderAttackHealthBar.h>

Inheritance diagram for orxonox::UnderAttackHealthBar:

orxonox::HUDHealthBar orxonox::HUDBar orxonox::Tickable orxonox::OrxonoxOverlay orxonox::OrxonoxClass orxonox::BaseObject orxonox::WindowEventListener orxonox::OrxonoxClass orxonox::OrxonoxClass

List of all members.

Public Member Functions

virtual void changedOwner ()
Vector2 getDescriptionOffset () const
Vector2 getDescriptionPickPoint () const
void setDescriptionOffset (const Vector2 &position)
void setDescriptionPickPoint (const Vector2 &pickpoint)
 UnderAttackHealthBar (BaseObject *creator)
virtual void XMLPort (Element &xmlelement, XMLPort::Mode mode)
 Loads the OrxonoxOverlay.
 ~UnderAttackHealthBar ()

Private Member Functions

void init ()

Private Attributes

Timer< UnderAttackHealthBarinittimer_
PlayerInfoowner_
OverlayTexttext_


Constructor & Destructor Documentation

orxonox::UnderAttackHealthBar::UnderAttackHealthBar ( BaseObject creator  ) 

orxonox::UnderAttackHealthBar::~UnderAttackHealthBar (  ) 


Member Function Documentation

void orxonox::UnderAttackHealthBar::changedOwner (  )  [virtual]

Vector2 orxonox::UnderAttackHealthBar::getDescriptionOffset (  )  const [inline]

Referenced by XMLPort().

Vector2 orxonox::UnderAttackHealthBar::getDescriptionPickPoint (  )  const [inline]

Referenced by XMLPort().

void orxonox::UnderAttackHealthBar::init (  )  [private]

void orxonox::UnderAttackHealthBar::setDescriptionOffset ( const Vector2 &  position  )  [inline]

Referenced by XMLPort().

void orxonox::UnderAttackHealthBar::setDescriptionPickPoint ( const Vector2 &  pickpoint  )  [inline]

Referenced by XMLPort().

void orxonox::UnderAttackHealthBar::XMLPort ( Element &  xmlElement,
XMLPort::Mode  mode 
) [virtual]

Loads the OrxonoxOverlay.

This has to be called before usage, otherwise strange behaviour is guaranteed! (there should be no segfaults however). XML loading and saving.

Parameters:
xmlelement The XML-element
loading Loading (true) or saving (false)
Returns:
The XML-element

Reimplemented from orxonox::HUDHealthBar.

References getDescriptionOffset(), getDescriptionPickPoint(), setDescriptionOffset(), setDescriptionPickPoint(), SUPER, and XMLPortParam.


Member Data Documentation

Referenced by UnderAttackHealthBar().

Reimplemented from orxonox::HUDHealthBar.

Referenced by changedOwner(), init(), and UnderAttackHealthBar().


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

Generated on Tue Jul 28 16:23:13 2009 for Orxonox by  doxygen 1.5.6