Hauptseite   Klassenhierarchie   Übersicht   Auflistung der Dateien   Datenstruktur-Elemente   Datei-Elemente  

sw_Obstacle.h

00001 #ifndef sw_ObstacleH
00002 #define sw_ObstacleH
00003 
00004 #include "sw_Object.h"
00005 #include "sw_Level.h"
00006 #include "sw_utilities.h"
00007 
00023 class CObstacle
00024 {
00025 private:
00026         CLevel *Level;
00027         GLfloat x,z,Scale,Width,RotX,RotY;
00028         TMaterial *Material;
00029         CObject *Object;
00030         ObstacleType Type;
00031 public:
00032         CObstacle();
00033         
00038         GLvoid SetLevel(CLevel *p_Level);
00039 
00052         GLvoid Set(CObject *p_Object,ObstacleType p_ObstacleType,GLfloat p_x,GLfloat p_z,GLfloat p_Scale,GLint p_Width,GLfloat p_RotX,GLfloat p_RotY,TMaterial *p_Material=(TMaterial*)(0));
00053 
00058         GLvoid Render(RenderMode rm);
00059 
00065         GLvoid GetPosition(TPoint3 *p);
00066 
00070         GLfloat GetWidth();
00071 
00075         GLfloat GetRotX();
00076 
00080         ObstacleType GetType();
00081 
00082         GLfloat GetScale();
00083 };//CObstacle
00084 
00085 #endif

Erzeugt am Thu Jun 19 22:50:44 2003 für Schneeweiß von doxygen1.3