00001
00002
00003
00004
00005
00006
00007
00008 #ifndef QAF_OBJ_TUBECURSOROBJ_H
00009 #define QAF_OBJ_TUBECURSOROBJ_H
00010
00011 #include "../qafGameObj.h"
00012 #include "../qafutil/qafVector2D.h"
00013
00014
00015 namespace qaf {
00016
00029 class TubeCursorObj : public GameObj {
00030 public:
00031
00032 Vector2D pos, aim;
00033 Vector2D vel;
00034 float angle, length;
00035
00036 TubeCursorObj ( float _x, float _y );
00037 virtual ~TubeCursorObj ();
00038
00039 void update ( int objLayer, float dt );
00040 void render ( int objLayer, float scrollX, float scrollY );
00041
00042 private:
00043 void * pHGE;
00044 };
00045
00046 }
00047
00048 #endif