add the godot namespace to the calls so it is more clear where the method resides

This commit is contained in:
2022-08-31 00:36:01 -04:00
parent ee34563424
commit eb14adbb0e
12 changed files with 35 additions and 36 deletions

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()