HUD Class Reference

In-game head up display for each player. More...

Inheritance diagram for HUD:
UIBase

List of all members.

Public Member Functions

void Awake ()
 Validates the game state at startup.
void Update ()
 Updates the HUD.
override void DrawUI ()
 Draws the HUD to the screen.

Public Attributes

Texture boostBarTexture
 Texture used for boost bar graphics.
Font titleFont
 Font used for large text.
Font textFont
 Font used for small text.
Color backColor
 Background colour.
Texture countdownTexture
 Texture sheet for countdown.
int countdownCells = 4
 Number of cells in countdownTexture.
AudioSource[] countdownSounds
 Sounds played on countdown.
Texture placesTexture
 Texture sheet used for player's position in race.
Texture lapsBackdrop
 Backdrop texture for lap counter.
Texture placeBackdrop
 Backdrop texture for race position.

Detailed Description

In-game head up display for each player.


Member Function Documentation

void HUD.Awake (  ) 

Validates the game state at startup.

override void HUD.DrawUI (  )  [virtual]

Draws the HUD to the screen.

Implements UIBase.

void HUD.Update (  ) 

Updates the HUD.


Member Data Documentation

Background colour.

Texture used for boost bar graphics.

Number of cells in countdownTexture.

AudioSource [] HUD.countdownSounds

Sounds played on countdown.

Texture sheet for countdown.

Backdrop texture for lap counter.

Backdrop texture for race position.

Texture sheet used for player's position in race.

Font used for small text.

Font used for large text.


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

Generated on Fri Aug 21 09:09:58 2009 for Hamlington Underground Racing Association by  doxygen 1.6.0