00001 00027 #ifndef _CGOBJECT_H_ 00028 #define _CGOBJECT_H_ 00029 00030 #include "main.h" 00031 #include "Positionable3D.h" 00032 #include "Rotationable3D.h" 00033 #include "Sizeable3D.h" 00034 #include "GameObject.h" 00035 00036 class CGameObject3D: public CGameObject, 00037 public CRotationable3D, 00038 public CPositionable3D, 00039 public CSizeable3D { 00040 00041 public: 00042 CGameObject3D(void); 00043 CGameObject3D(float x, float y, float z); 00044 CGameObject3D(Position3D position); 00045 ~CGameObject3D(void); 00046 00047 virtual void render() = 0; 00048 00049 virtual void beforeRender(); 00050 virtual void afterRender(); 00051 00052 protected: 00053 00054 GLfloat* m_vertexes; // body objektu 00055 00056 }; 00057 00058 #endif 00059