FollowPathEvent.h 718 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. // Copyright (C) 2009-2016, Panagiotis Christopoulos Charitos.
  2. // All rights reserved.
  3. // Code licensed under the BSD License.
  4. // http://www.anki3d.org/LICENSE
  5. #pragma once
  6. #include <anki/event/Event.h>
  7. #include <anki/scene/SceneNode.h>
  8. namespace anki
  9. {
  10. #if 0
  11. class FollowPathEvent: public Event
  12. {
  13. public:
  14. /// @name Constructors/Destructor
  15. /// @{
  16. /// Constructor
  17. FollowPathEvent(
  18. EventManager* manager, F32 startTime, F32 duration, U8 flags, // Event
  19. SceneNode* movableSceneNode, Path* path, F32 distPerTime);
  20. /// @}
  21. /// Implements Event::update
  22. void update(F32 prevUpdateTime, F32 crntTime);
  23. private:
  24. F32 distPerTime;
  25. SceneNode* movableSceneNode;
  26. Path* path;
  27. };
  28. #endif
  29. } // end namespace anki