ViewerModule.h 908 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #ifndef VIEWER_MODULE_H
  2. #define VIEWER_MODULE_H
  3. #include <OgreString.h>
  4. #include "../core/Module.h"
  5. //#include "../core/debug/DebugText.h"
  6. #include "../core/particles/ParticleSystem.h"
  7. #include "../game/Walkmesh.h"
  8. class ViewerModule : public Module
  9. {
  10. public:
  11. ViewerModule();
  12. virtual ~ViewerModule();
  13. virtual void Input(const Event& input);
  14. virtual void Update();
  15. void PlayAnimation(const Ogre::String& name);
  16. void Clear();
  17. void SetModelToLoad(const Ogre::String& name);
  18. void SetWalkmeshToLoad(const Ogre::String& name);
  19. private:
  20. ParticleSystem* m_ParticleSystem;
  21. //DebugText m_EntityState;
  22. Ogre::Entity* m_Entity;
  23. Walkmesh* m_Walkmesh;
  24. Ogre::Entity* m_Grid;
  25. Ogre::Entity* m_Axis;
  26. Ogre::SceneNode* m_SceneNode;
  27. };
  28. #endif // VIEWER_MODULE_H