Line data Source code
1 : #ifndef __LEGS_PRONE_ANIMATION_STATE_HPP__
2 : #define __LEGS_PRONE_ANIMATION_STATE_HPP__
3 :
4 : #include "core/animations/AnimationState.hpp"
5 :
6 : #include "core/animations/AnimationData.hpp"
7 :
8 : namespace Soldank
9 : {
10 : struct Soldier;
11 :
12 : class LegsProneAnimationState final : public Soldank::AnimationState
13 : {
14 : public:
15 : LegsProneAnimationState(const AnimationDataManager& animation_data_manager);
16 0 : ~LegsProneAnimationState() override = default;
17 :
18 : std::optional<std::shared_ptr<AnimationState>> HandleInput(Soldier& soldier) final;
19 : void Update(Soldier& soldier, const PhysicsEvents& physics_events) final;
20 :
21 : private:
22 : const AnimationDataManager& animation_data_manager_;
23 : };
24 : } // namespace Soldank
25 :
26 : #endif
|