Wing 323 - Gamepad Version  V1.0
Public Member Functions
HUD Class Reference

The HUD displays vital information to the player (such as the player's health, ammo and flashlight power level). More...

List of all members.

Public Member Functions

void Start ()
 Initialises the HUD's attributes.
void OnGUI ()
 The OnGUI method displays and formats the HUD information so that it appears on the player's screen.
void flickerFlashlightBar ()
 Flickers the flashlight bar to a different colour.
void setStatusText (string _message)
 Sets the status text (messages of feedback to the player, i.e. picked an item up etc).
void setItemIDText (string _itemID)
 Set's the item ID text (when a player ID's an item).

Detailed Description

The HUD displays vital information to the player (such as the player's health, ammo and flashlight power level).

Author:
Alexander Poolton
Version:
3.0
Date:
18/7/2011

Member Function Documentation

void HUD::setItemIDText ( string  _itemID) [inline]

Set's the item ID text (when a player ID's an item).

Parameters:
[in]_itemIDThe item's ID (it's name).
void HUD::setStatusText ( string  _message) [inline]

Sets the status text (messages of feedback to the player, i.e. picked an item up etc).

Parameters:
[in]_messageThe message to display.

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