Layer Class Reference

interface of visual layers More...

#include <layer.h>

Inherited by LayerGame, and LayerGUI.

Inheritance diagram for Layer:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~Layer ()
virtual void render ()=0
 Rendering code.
virtual void update ()
 Frame-based update of structures in this layer.
virtual void setView ()

Protected Member Functions

 Layer ()

Detailed Description

interface of visual layers

Note:
Visual layers should be placed in TaskRender.

Definition at line 8 of file layer.h.


Constructor & Destructor Documentation

Layer::Layer  )  [inline, protected]
 

Definition at line 11 of file layer.h.

virtual Layer::~Layer  )  [inline, virtual]
 

Definition at line 14 of file layer.h.


Member Function Documentation

virtual void Layer::render  )  [pure virtual]
 

Rendering code.

Note:
It is a pure virtual method, must be implemented in subclasses.

Implemented in LayerGame, and LayerGUI.

void Layer::setView  )  [virtual]
 

Reimplemented in LayerGame.

Definition at line 7 of file layer.cpp.

References getAppClient(), ApplicationClient::getGFX(), and GFX::set2DOpenGL().

Here is the call graph for this function:

virtual void Layer::update  )  [inline, virtual]
 

Frame-based update of structures in this layer.

Note:
Does nothing by default.

Reimplemented in LayerGame.

Definition at line 26 of file layer.h.


The documentation for this class was generated from the following files:
Generated on Wed Apr 12 14:18:45 2006 for bjs by  doxygen 1.4.5