Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members |
00001 // Copyright (c) 2007-2008 Tomer Nosrati 00002 // This file is part of the "NUSoftware Game Engine". 00003 // For conditions of distribution and use, see copyright notice in nge.hpp 00004 00005 #pragma once 00006 #ifndef __I_SCENE_NODE_CONTROLLER_ANIMATOR_H_ 00007 #define __I_SCENE_NODE_CONTROLLER_ANIMATOR_H_ 00008 00009 #include "SOpKeyMap.hpp" 00010 #include "Irrlicht/irrlicht.h" 00011 00012 using namespace irr; 00013 using namespace irr::core; 00014 using namespace irr::gui; 00015 using namespace irr::io; 00016 using namespace irr::scene; 00017 00018 namespace nge 00019 { 00020 namespace game 00021 { 00022 00024 00030 class ISceneNodeControllerAnimator : public ISceneNodeAnimator, public IEventReceiver 00031 { 00032 public: 00034 virtual ~ISceneNodeControllerAnimator() {} 00035 00039 virtual void animateNode(ISceneNode* node, u32 timeMs) = 0; 00040 00042 virtual bool OnEvent(const SEvent& event) = 0; 00043 00044 virtual void useMouseCursor(bool used) = 0; 00045 00046 virtual bool isMouseCursorUsed() const = 0; 00047 00049 virtual bool isInputReceiverEnabled() = 0; 00050 00052 virtual void setInputReceiverEnabled(bool enabled) = 0; 00053 00055 virtual bool isKeyInputEnabled() = 0; 00056 00058 virtual void setKeyInputEnabled(bool enabled) = 0; 00059 00061 virtual bool isMouseInputEnabled() = 0; 00062 00064 virtual void setMouseInputEnabled(bool enabled) = 0; 00065 00067 virtual bool isVerticalMovementEnabled() = 0; 00068 00070 virtual void setVerticalMovementEnabled(bool enabled) = 0; 00071 00073 virtual f32 getMoveSpeed() const = 0; 00074 00076 virtual f32 getRotateSpeed() const = 0; 00077 00079 virtual void setMoveSpeed(f32 speed) = 0; 00080 00082 virtual void setRotateSpeed(f32 speed) = 0; 00083 00085 virtual void invertRotation(bool X, bool Y) = 0; 00086 00088 virtual void invertXRotation(bool isInvert) = 0; 00089 00091 virtual void invertYRotation(bool isInvert) = 0; 00092 00094 virtual bool isXRotationInverted() const = 0; 00095 00097 virtual bool isYRotationInverted() const = 0; 00098 00100 virtual void setKeyMap(SOpKeyMap* keyMapArray = 0, u32 keyMapSize = 0) = 0; 00101 }; 00102 00103 } // namespace game 00104 } // namespace nge 00105 00106 #endif // __I_SCENE_NODE_CONTROLLER_ANIMATOR_H_
The NUSoftware Game Engine Documentation © 2007-2008 by Tomer Nosrati. Generated
on Sat Apr 26 16:52:34 2008 by Doxygen
(1.5.5) |