HudScore Class Reference

Score indicator. More...

#include <HudScore.h>

Inheritance diagram for HudScore:

Label Object2d ViewObject Object

List of all members.

Public Member Functions

 HudScore (const string &fontname, const GLfloat &size, const Color &color, MVFirefly *firefly)
 Constructor.
 HudScore (const HudScore &source)
 Copy Constructor.
 ~HudScore ()
 Destructor.
void setFirefly (MVFirefly *firefly)
void renderGl ()
 renders score to screen
void selectGl ()
 rednering for selection pass
virtual string toString () const
 Returns a textual representation.
virtual string className () const
 Returns the class name of the object.
virtual enum classId classId () const
 Returns the class id of the object.

Private Attributes

MVFireflyfirefly
 Firefly to observe.


Detailed Description

Score indicator.

Displays current score for player


Constructor & Destructor Documentation

HudScore::HudScore ( const string &  fontname,
const GLfloat &  size,
const Color color,
MVFirefly firefly 
)

Constructor.

HudScore::HudScore ( const HudScore source  ) 

Copy Constructor.

HudScore::~HudScore (  ) 

Destructor.


Member Function Documentation

void HudScore::setFirefly ( MVFirefly firefly  ) 

void HudScore::renderGl (  )  [virtual]

renders score to screen

Reimplemented from Label.

void HudScore::selectGl (  )  [virtual]

rednering for selection pass

Reimplemented from Label.

string HudScore::toString (  )  const [virtual]

Returns a textual representation.

Returns:
a string descriping the run-time object

Reimplemented from Label.

string HudScore::className (  )  const [virtual]

Returns the class name of the object.

Returns:
a string with the name of the object's class

Reimplemented from Label.

enum classId HudScore::classId (  )  const [virtual]

Returns the class id of the object.

Returns:
an id of the object's class

Reimplemented from Label.


Member Data Documentation

Firefly to observe.


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

Generated on Mon Jul 7 13:30:34 2008 for Firefly by  doxygen 1.5.6