Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

Hud Class Reference

#include <Hud.h>

Inheritance diagram for Hud:

[legend]
Collaboration diagram for Hud:
[legend]
List of all members.

Public Methods

 Hud ()
virtual ~Hud ()
virtual void draw ()
void setMoney (int t)
void serverMessage (string message)
void clearChat ()
void addChat (unsigned char c)
void popChat ()
string getChat ()
void setOptions (vector< string > options)
void nextDisplayOption ()
void previousDisplayOption ()
int getDisplayOptions ()
void clearDisplayOptions ()
bool hasDisplayOptions ()
void setTimeoutMessage (string str, double timeout)

Protected Attributes

vector< HudBase * > _hudObjects
HudMoney * _money
HudOptions * _hudOptions
HudMessage * _hudMessage
HudChat * _hudChat

Detailed Description

displays the 2d heads up display


Constructor & Destructor Documentation

Hud::Hud (    ) 
 

Hud::~Hud (    )  [virtual]
 


Member Function Documentation

void Hud::addChat (  unsigned char    c )  [inline]
 

void Hud::clearChat (    )  [inline]
 

void Hud::clearDisplayOptions (    )  [inline]
 

void Hud::draw (    )  [virtual]
 

draw

Implements HudBase.

string Hud::getChat (    )  [inline]
 

int Hud::getDisplayOptions (    )  [inline]
 

bool Hud::hasDisplayOptions (    )  [inline]
 

void Hud::nextDisplayOption (    )  [inline]
 

void Hud::popChat (    )  [inline]
 

void Hud::previousDisplayOption (    )  [inline]
 

void Hud::serverMessage (  string    message )  [inline]
 

void Hud::setMoney (  int    t )  [inline]
 

void Hud::setOptions (  vector< string >    options )  [inline]
 

void Hud::setTimeoutMessage (  string    str,
double    timeout
)  [inline]
 


Member Data Documentation

HudChat* Hud::_hudChat [protected]
 

HudMessage* Hud::_hudMessage [protected]
 

vector< HudBase * > Hud::_hudObjects [protected]
 

HudOptions* Hud::_hudOptions [protected]
 

HudMoney* Hud::_money [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Apr 21 11:11:10 2004 for naturecalls by doxygen1.2.18