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

Teddy::SpaceGame::Scanner Class Reference

A simple radar scanner showing objects in scene relative to player ship. More...

#include <Scanner.h>

Collaboration diagram for Teddy::SpaceGame::Scanner:

Collaboration graph
[legend]
List of all members.

Public Methods

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

void cycle ()
virtual void drawSelf ()
 Drawing code. More...


Protected Attributes

Rootroot
Camera * camera
int range
Texture * txt

Detailed Description

A simple radar scanner showing objects in scene relative to player ship.

Definition at line 50 of file Scanner.h.


Constructor & Destructor Documentation

Teddy::SpaceGame::Scanner::Scanner Root   root
 

Constructor.

Definition at line 51 of file Scanner.cpp.

References camera, range, root, and txt.


Member Function Documentation

void Teddy::SpaceGame::Scanner::cycle  
 

Definition at line 88 of file Scanner.cpp.

References range.

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

Drawing code.

Definition at line 94 of file Scanner.cpp.

References camera, and txt.


Member Data Documentation

Camera* Teddy::SpaceGame::Scanner::camera [protected]
 

Definition at line 60 of file Scanner.h.

Referenced by drawSelf(), and Scanner().

int Teddy::SpaceGame::Scanner::range [protected]
 

Definition at line 61 of file Scanner.h.

Referenced by cycle(), and Scanner().

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

Definition at line 59 of file Scanner.h.

Referenced by Scanner().

Texture* Teddy::SpaceGame::Scanner::txt [protected]
 

Definition at line 62 of file Scanner.h.

Referenced by drawSelf(), and Scanner().


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