Public Member Functions | Protected Attributes

GHud Class Reference

#include <GHud.h>

Inheritance diagram for GHud:
GGraphicsObject GObject

List of all members.

Public Member Functions

 GHud (void)
 ~GHud (void)
int AddElement (std::string name, float _x, float _y, float _width, float _height, std::string filename, std::string alpha="")
int Draw (double time, double dtime, GMatrix16 *viewmatrix, GMatrix16 *worldmatrix, int FLAGS)
int DrawSprites (double time, double dtime, GMatrix16 *viewmatrix, GMatrix16 *worldmatrix, int FLAGS)
vector< GHudElement * > GetElements (void)
GHudElementGetElementForName (char *)
int Update (double time, double dtime)
 set the objects active state

Protected Attributes

vector< GHudElement * > Elements

Constructor & Destructor Documentation

GHud::GHud ( void   ) 
GHud::~GHud ( void   ) 

Member Function Documentation

int GHud::AddElement ( std::string  name,
float  _x,
float  _y,
float  _width,
float  _height,
std::string  filename,
std::string  alpha = "" 
)
int GHud::Draw ( double  time,
double  dtime,
GMatrix16 viewmatrix,
GMatrix16 worldmatrix,
int  FLAGS 
) [virtual]

Implements GGraphicsObject.

int GHud::DrawSprites ( double  time,
double  dtime,
GMatrix16 viewmatrix,
GMatrix16 worldmatrix,
int  FLAGS 
) [virtual]

Implements GGraphicsObject.

GHudElement * GHud::GetElementForName ( char *  _name  ) 
vector< GHudElement * > GHud::GetElements ( void   ) 
int GHud::Update ( double  time,
double  dtime 
) [virtual]

set the objects active state

Reimplemented from GGraphicsObject.


Member Data Documentation

vector<GHudElement *> GHud::Elements [protected]

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Enumerations Enumerator Friends Defines