diff --git a/tests/test_await_animation.h b/tests/test_await_animation.h index 17312a9..00831db 100644 --- a/tests/test_await_animation.h +++ b/tests/test_await_animation.h @@ -29,7 +29,7 @@ namespace TestAwaitAnimation { TEST_CASE("[SceneTree][LimboAI] BTAwaitAnimation") { AnimationPlayer *player = memnew(AnimationPlayer); SceneTree::get_singleton()->get_root()->add_child(player); - player->set_process_callback(AnimationPlayer::AnimationProcessCallback::ANIMATION_PROCESS_IDLE); + player->set_callback_mode_process(AnimationMixer::ANIMATION_CALLBACK_MODE_PROCESS_IDLE); Ref anim_lib = memnew(AnimationLibrary); Ref anim = memnew(Animation); diff --git a/tests/test_pause_animation.h b/tests/test_pause_animation.h index a6bc775..41731bf 100644 --- a/tests/test_pause_animation.h +++ b/tests/test_pause_animation.h @@ -27,7 +27,7 @@ namespace TestPauseAnimation { TEST_CASE("[SceneTree][LimboAI] BTPauseAnimation") { AnimationPlayer *player = memnew(AnimationPlayer); SceneTree::get_singleton()->get_root()->add_child(player); - player->set_process_callback(AnimationPlayer::AnimationProcessCallback::ANIMATION_PROCESS_IDLE); + player->set_callback_mode_process(AnimationMixer::ANIMATION_CALLBACK_MODE_PROCESS_IDLE); Ref anim_lib = memnew(AnimationLibrary); Ref anim = memnew(Animation); diff --git a/tests/test_play_animation.h b/tests/test_play_animation.h index 93e38bf..58061d4 100644 --- a/tests/test_play_animation.h +++ b/tests/test_play_animation.h @@ -27,7 +27,7 @@ namespace TestPlayAnimation { TEST_CASE("[SceneTree][LimboAI] BTPlayAnimation") { AnimationPlayer *player = memnew(AnimationPlayer); SceneTree::get_singleton()->get_root()->add_child(player); - player->set_process_callback(AnimationPlayer::AnimationProcessCallback::ANIMATION_PROCESS_IDLE); + player->set_callback_mode_process(AnimationMixer::ANIMATION_CALLBACK_MODE_PROCESS_IDLE); Ref anim_lib = memnew(AnimationLibrary); Ref anim = memnew(Animation); diff --git a/tests/test_stop_animation.h b/tests/test_stop_animation.h index 6778032..ad88477 100644 --- a/tests/test_stop_animation.h +++ b/tests/test_stop_animation.h @@ -27,7 +27,7 @@ namespace TestStopAnimation { TEST_CASE("[SceneTree][LimboAI] BTStopAnimation") { AnimationPlayer *player = memnew(AnimationPlayer); SceneTree::get_singleton()->get_root()->add_child(player); - player->set_process_callback(AnimationPlayer::AnimationProcessCallback::ANIMATION_PROCESS_IDLE); + player->set_callback_mode_process(AnimationMixer::ANIMATION_CALLBACK_MODE_PROCESS_IDLE); Ref anim_lib = memnew(AnimationLibrary); Ref anim = memnew(Animation);