diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-05-03 14:25:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-03 14:25:30 +0200 |
commit | 77c9138e7274f0b7d2ae1327748774ab74bd5d5c (patch) | |
tree | cce5e71da78fc08b96827d02438fcbdb8368f51d /scene/animation/animation_tree.h | |
parent | cb7a5a81ad7ff2116d7fdfab6a7fd93fdda04e1d (diff) | |
parent | e7056c195deb6a7cab4b58be549566234565759c (diff) |
Merge pull request #24402 from guilhermefelipecgs/state_machine_improvement
Improvements to AnimationNodeStateMachine
Diffstat (limited to 'scene/animation/animation_tree.h')
-rw-r--r-- | scene/animation/animation_tree.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scene/animation/animation_tree.h b/scene/animation/animation_tree.h index e61a297b04..3f09bf7f4b 100644 --- a/scene/animation/animation_tree.h +++ b/scene/animation/animation_tree.h @@ -37,6 +37,8 @@ #include "scene/resources/animation.h" class AnimationNodeBlendTree; +class AnimationNodeStartState; +class AnimationNodeEndState; class AnimationPlayer; class AnimationTree; @@ -164,6 +166,14 @@ public: AnimationRootNode() {} }; +class AnimationNodeStartState : public AnimationRootNode { + GDCLASS(AnimationNodeStartState, AnimationRootNode); +}; + +class AnimationNodeEndState : public AnimationRootNode { + GDCLASS(AnimationNodeEndState, AnimationRootNode); +}; + class AnimationTree : public Node { GDCLASS(AnimationTree, Node); |