00001 #ifndef __DUSTY_NODE_AFFECTOR_H__
00002 #define __DUSTY_NODE_AFFECTOR_H__
00003
00004 #include <irrlicht.h>
00005 #include "dustyengine.h"
00006
00007 namespace DustyEngine
00008 {
00017 class DUSTYENGINE_API NodeAffector
00018 {
00019 public:
00021 NodeAffector();
00022
00024 virtual ~NodeAffector();
00025
00027 void SetNode(irr::scene::ISceneNode * n);
00028
00031 irr::scene::ISceneNode * GetNode()
00032 {
00033 return node;
00034 }
00035
00038 void SetPosition(irr::core::vector3df pos);
00039
00042 irr::core::vector3df GetPosition();
00043
00046 void SetRotation(irr::core::vector3df rot);
00047
00050 irr::core::vector3df GetRotation();
00051
00054 void SetScale(irr::core::vector3df scale);
00055
00058 irr::core::vector3df GetScale();
00059
00060 protected:
00061 irr::scene::ISceneNode * node;
00062 };
00063 }
00064
00065 #endif