qafTubeCursorObj.h

00001 /* 
00002 ** Qaf Framework 1.2
00003 ** June 2006
00004 ** 
00005 ** Pedro Luchini de Moraes, Public Domain - Free Lunch Code
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

Generated on Sun Mar 25 12:32:12 2007 for Qaf Framework by  doxygen 1.5.1-p1