PlayerNode.h 580 B

123456789101112131415161718192021222324252627282930
  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. /// @addtogroup scene
  10. /// @{
  11. /// Player scene node. It uses input and physics to move inside the world.
  12. class PlayerNode : public SceneNode
  13. {
  14. public:
  15. PlayerNode(SceneGraph* scene, CString name);
  16. ~PlayerNode();
  17. private:
  18. class FeedbackComponent;
  19. class FeedbackComponent2;
  20. };
  21. /// @}
  22. } // end namespace anki