dustyrotateboundedtask.h

Go to the documentation of this file.
00001 #ifndef __DUSTY_ROTATE_BOUNDED_TASK_H__
00002 #define __DUSTY_ROTATE_BOUNDED_TASK_H__
00003 
00004 #include "dustyengine.h"
00005 
00006 namespace DustyEngine
00007 {
00008         class DummyTask;
00009 
00016         class DUSTYENGINE_API RotateBoundedTask : public RotateTask
00017         {
00018         public:
00020                 RotateBoundedTask();
00021                 virtual ~RotateBoundedTask();
00022 
00026         void SetBoundaries(irr::core::vector3df min, irr::core::vector3df max)
00027                 {
00028                         minBoundary = min;
00029                         maxBoundary = max;
00030                 }
00031                 
00034                 irr::core::vector3df GetMinBoundary()
00035                 {
00036                         return minBoundary;
00037                 }
00038 
00041                 irr::core::vector3df GetMaxBoundary()
00042                 {
00043                         return maxBoundary;
00044                 }
00045 
00047 
00053 
00054                 irr::u32 GetCollisionValue()
00055                 {
00056                         return collisionValue;
00057                 }
00058 
00059                 void OnUpdate();
00060 
00061         protected:
00062                 irr::core::vector3df minBoundary;
00063                 irr::core::vector3df maxBoundary;
00064 
00065                 irr::u32 collisionValue;
00066         };
00067 }
00068 
00069 #endif
00070 

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