Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Teddy::SpaceGame::Hud Class Reference

A simple heads up display showing speed, pitch, roll etc. More...

#include <Hud.h>

Collaboration diagram for Teddy::SpaceGame::Hud:

Collaboration graph
[legend]
List of all members.

Public Methods

 Hud (Root *root)
 Constructor. More...

void setTargetMatrix (Matrix *m)
 Set HUD target matrix. More...

virtual void drawSelf ()
 Drawing code - FIX ugly code... More...


Protected Attributes

Rootroot
Matrix * target_matrix

Detailed Description

A simple heads up display showing speed, pitch, roll etc.

Definition at line 51 of file Hud.h.


Constructor & Destructor Documentation

Teddy::SpaceGame::Hud::Hud Root   root
 

Constructor.

Definition at line 56 of file Hud.cpp.

References root, and target_matrix.


Member Function Documentation

void Teddy::SpaceGame::Hud::drawSelf   [virtual]
 

Drawing code - FIX ugly code...

Definition at line 104 of file Hud.cpp.

References root, Teddy::SpaceGame::speed, target_matrix, TEDDY__SPACE_GAME__VERSION_MAJOR, and TEDDY__SPACE_GAME__VERSION_MINOR.

void Teddy::SpaceGame::Hud::setTargetMatrix Matrix *    target
 

Set HUD target matrix.

Definition at line 95 of file Hud.cpp.

References Teddy::SpaceGame::speed, and target_matrix.


Member Data Documentation

Root* Teddy::SpaceGame::Hud::root [protected]
 

Definition at line 60 of file Hud.h.

Referenced by drawSelf(), and Hud().

Matrix* Teddy::SpaceGame::Hud::target_matrix [protected]
 

Definition at line 61 of file Hud.h.

Referenced by drawSelf(), Hud(), and setTargetMatrix().


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