dustymovetask.h

Go to the documentation of this file.
00001 #ifndef __DUSTY_MOVE_TASK_H__
00002 #define __DUSTY_MOVE_TASK_H__
00003 
00004 #include "dustyengine.h"
00005 
00006 namespace DustyEngine
00007 {
00008         class DummyTask;
00009     class NodeAffector;
00010 
00012         class DUSTYENGINE_API MoveTask : public DummyTask, public NodeAffector
00013         {
00014         public:
00015                 MoveTask();
00016 
00018                 virtual ~MoveTask();
00019 
00022                 void SetVector(irr::core::vector3df vector)
00023                 {
00024                         moveVector = vector;
00025                 }
00026 
00029                 irr::core::vector3df GetVector()
00030                 {
00031                         return moveVector;
00032                 }
00033 
00035                 void OnUpdate();
00036 
00037         protected:
00038                 irr::core::vector3df moveVector;
00039         };
00040 }
00041 
00042 #endif
00043 

Generated on Fri Jan 27 17:31:50 2006 for Dusty Engine by  doxygen 1.4.6-NO