feature/win_screen #43

Merged
cromer merged 6 commits from feature/win_screen into develop 2022-08-31 01:11:58 -04:00
12 changed files with 35 additions and 36 deletions
Showing only changes of commit eb14adbb0e - Show all commits

View File

@ -7,7 +7,7 @@
void alai::CameraLimit::_register_methods()
{
register_method("_ready", &CameraLimit::_ready);
godot::register_method("_ready", &CameraLimit::_ready);
}
alai::CameraLimit::CameraLimit()

View File

@ -6,9 +6,9 @@
void alai::CoinCollected::_register_methods()
{
register_method("_state_enter", &CoinCollected::_state_enter);
register_method("_state_exit", &CoinCollected::_state_exit);
register_method("_on_animation_finished", &CoinCollected::_on_animation_finished);
godot::register_method("_state_enter", &CoinCollected::_state_enter);
godot::register_method("_state_exit", &CoinCollected::_state_exit);
godot::register_method("_on_animation_finished", &CoinCollected::_on_animation_finished);
}
alai::CoinCollected::CoinCollected()
@ -37,7 +37,6 @@ void alai::CoinCollected::_state_enter()
void alai::CoinCollected::_state_exit()
{
}
void alai::CoinCollected::_on_animation_finished(godot::String anim_name)

View File

@ -6,8 +6,8 @@
void alai::CoinCounter::_register_methods()
{
register_method("_on_coin_collected", &CoinCounter::_on_coin_collected);
register_method("_ready", &CoinCounter::_ready);
godot::register_method("_on_coin_collected", &CoinCounter::_on_coin_collected);
godot::register_method("_ready", &CoinCounter::_ready);
}
alai::CoinCounter::CoinCounter()

View File

@ -4,9 +4,9 @@
void alai::CoinNotCollected::_register_methods()
{
register_method("_state_enter", &CoinNotCollected::_state_enter);
register_method("_state_exit", &CoinNotCollected::_state_exit);
register_method("_on_body_entered", &CoinNotCollected::_on_body_entered);
godot::register_method("_state_enter", &CoinNotCollected::_state_enter);
godot::register_method("_state_exit", &CoinNotCollected::_state_exit);
godot::register_method("_on_body_entered", &CoinNotCollected::_on_body_entered);
}
alai::CoinNotCollected::CoinNotCollected()

View File

@ -4,9 +4,9 @@
void alai::GoalNotReached::_register_methods()
{
register_method("_state_enter", &GoalNotReached::_state_enter);
register_method("_state_exit", &GoalNotReached::_state_exit);
register_method("_on_Goal_body_entered", &GoalNotReached::_on_Goal_body_entered);
godot::register_method("_state_enter", &GoalNotReached::_state_enter);
godot::register_method("_state_exit", &GoalNotReached::_state_exit);
godot::register_method("_on_Goal_body_entered", &GoalNotReached::_on_Goal_body_entered);
}
alai::GoalNotReached::GoalNotReached()

View File

@ -4,8 +4,8 @@
void alai::GoalReached::_register_methods()
{
register_method("_state_enter", &GoalReached::_state_enter);
register_method("_state_exit", &GoalReached::_state_exit);
godot::register_method("_state_enter", &GoalReached::_state_enter);
godot::register_method("_state_exit", &GoalReached::_state_exit);
}
alai::GoalReached::GoalReached()

View File

@ -9,10 +9,10 @@
void alai::GameOverScreen::_register_methods()
{
register_method("_on_restart_button_pressed", &GameOverScreen::_on_restart_button_pressed);
register_method("_ready", &GameOverScreen::_ready);
register_method("connect_signal", &GameOverScreen::connect_signal);
register_method("_on_player_died", &GameOverScreen::_on_player_died);
godot::register_method("_on_restart_button_pressed", &GameOverScreen::_on_restart_button_pressed);
godot::register_method("_ready", &GameOverScreen::_ready);
godot::register_method("connect_signal", &GameOverScreen::connect_signal);
godot::register_method("_on_player_died", &GameOverScreen::_on_player_died);
}
alai::GameOverScreen::GameOverScreen()

View File

@ -4,9 +4,9 @@
void alai::player::PlayerFall::_register_methods()
{
register_method("_state_enter", &PlayerFall::_state_enter);
register_method("_state_exit", &PlayerFall::_state_exit);
register_method("_physics_process", &PlayerFall::_physics_process);
godot::register_method("_state_enter", &PlayerFall::_state_enter);
godot::register_method("_state_exit", &PlayerFall::_state_exit);
godot::register_method("_physics_process", &PlayerFall::_physics_process);
}
alai::player::PlayerFall::PlayerFall()

View File

@ -4,9 +4,9 @@
void alai::player::PlayerIdle::_register_methods()
{
register_method("_state_enter", &PlayerIdle::_state_enter);
register_method("_state_exit", &PlayerIdle::_state_exit);
register_method("_physics_process", &PlayerIdle::_physics_process);
godot::register_method("_state_enter", &PlayerIdle::_state_enter);
godot::register_method("_state_exit", &PlayerIdle::_state_exit);
godot::register_method("_physics_process", &PlayerIdle::_physics_process);
}
alai::player::PlayerIdle::PlayerIdle()

View File

@ -6,9 +6,9 @@
void alai::player::PlayerJump::_register_methods()
{
register_method("_state_enter", &PlayerJump::_state_enter);
register_method("_state_exit", &PlayerJump::_state_exit);
register_method("_physics_process", &PlayerJump::_physics_process);
godot::register_method("_state_enter", &PlayerJump::_state_enter);
godot::register_method("_state_exit", &PlayerJump::_state_exit);
godot::register_method("_physics_process", &PlayerJump::_physics_process);
}
alai::player::PlayerJump::PlayerJump()

View File

@ -4,9 +4,9 @@
void alai::player::PlayerMove::_register_methods()
{
register_method("_state_enter", &PlayerMove::_state_enter);
register_method("_state_exit", &PlayerMove::_state_exit);
register_method("_physics_process", &PlayerMove::_physics_process);
godot::register_method("_state_enter", &PlayerMove::_state_enter);
godot::register_method("_state_exit", &PlayerMove::_state_exit);
godot::register_method("_physics_process", &PlayerMove::_physics_process);
}
alai::player::PlayerMove::PlayerMove()

View File

@ -2,11 +2,11 @@
void alai::State::_register_methods()
{
register_method("set_parent", &State::set_parent);
register_method("get_parent", &State::get_parent);
register_method("set_state_machine", &State::set_state_machine);
register_method("_state_enter", &State::_state_enter);
register_method("_state_exit", &State::_state_exit);
godot::register_method("set_parent", &State::set_parent);
godot::register_method("get_parent", &State::get_parent);
godot::register_method("set_state_machine", &State::set_state_machine);
godot::register_method("_state_enter", &State::_state_enter);
godot::register_method("_state_exit", &State::_state_exit);
}
alai::State::State()