PlayerNode.h 580 B

12345678910111213141516171819202122232425262728293031
  1. // Copyright (C) 2009-2021, Panagiotis Christopoulos Charitos and contributors.
  2. // All rights reserved.
  3. // Code licensed under the BSD License.
  4. // http://www.anki3d.org/LICENSE
  5. #pragma once
  6. #include <AnKi/Scene/SceneNode.h>
  7. #include <AnKi/Math.h>
  8. namespace anki
  9. {
  10. /// @addtogroup scene
  11. /// @{
  12. /// Player scene node. It uses input and physics to move inside the world.
  13. class PlayerNode : public SceneNode
  14. {
  15. public:
  16. PlayerNode(SceneGraph* scene, CString name);
  17. ~PlayerNode();
  18. private:
  19. class FeedbackComponent;
  20. class FeedbackComponent2;
  21. };
  22. /// @}
  23. } // end namespace anki