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