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

Teddy::SpaceGame::Sight Class Reference

A simple view sight. More...

#include <Sight.h>

List of all members.

Public Methods

 Sight ()
 Constructor. More...

virtual ~Sight ()
 Destructor. More...

virtual void place (int offset_x=0, int offset_y=0)
virtual void drawSelf ()
 Drawing code. More...


Protected Attributes

int size


Detailed Description

A simple view sight.

Definition at line 38 of file Sight.h.


Constructor & Destructor Documentation

Teddy::SpaceGame::Sight::Sight  
 

Constructor.

Definition at line 44 of file Sight.cpp.

References size.

Teddy::SpaceGame::Sight::~Sight   [virtual]
 

Destructor.

Definition at line 58 of file Sight.cpp.


Member Function Documentation

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

Drawing code.

Definition at line 64 of file Sight.cpp.

References size.

void Teddy::SpaceGame::Sight::place int    offset_x = 0,
int    offset_y = 0
[virtual]
 

Definition at line 38 of file Sight.cpp.


Member Data Documentation

int Teddy::SpaceGame::Sight::size [protected]
 

Definition at line 48 of file Sight.h.

Referenced by drawSelf(), and Sight().


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