home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2001 February
/
Chip_2001-02_cd1.bin
/
bonus
/
demos
/
CS
/
exp
/
SOURCES
/
GLENGINE
/
hierarchy.h
< prev
next >
Wrap
C/C++ Source or Header
|
2000-07-29
|
459b
|
24 lines
#ifndef __OGL2_BASIC_HIERARCHY__
#define __OGL2_BASIC_HIERARCHY__
#include "entity.h"
extern "C++" {
class Renderable {
public:
virtual ~Renderable () {}
virtual void Render(double time = 0.0) = 0;
};
class RenderableEntity : public Renderable, public Entity {};
class RenderableEntities : public Renderable, public EntityList<RenderableEntity> {
public:
virtual void Render(double time = 0.0);
};
} // extern "C++"
#endif