MapUI Class Reference

UI for the in-game map. More...

Inheritance diagram for MapUI:
UIBase

List of all members.

Public Member Functions

void Awake ()
 Validates the game state at startup.
void Start ()
void OnDrawGizmosSelected ()
override void DrawUI ()

Public Attributes

MainGame mainGame
 Link to the main game.
Texture mapTexture
 Texture used as a backdrop for the map.
Texture tokenTexture
 Texture for tokens on the map (colour blended).
Font textFont
 Font used for small text.
Rect onePlayerBounds
Rect twoPlayerBoundsVertical
Rect twoPlayerBoundsHorizontal
Rect threePlayerBounds
Rect fourPlayerBounds

Detailed Description

UI for the in-game map.


Member Function Documentation

void MapUI.Awake (  ) 

Validates the game state at startup.


Member Data Documentation

Link to the main game.

Texture used as a backdrop for the map.

Racer icons are drawn on top positioned and scaled in relation to MainGame.mapBounds

Font used for small text.

Texture for tokens on the map (colour blended).


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