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

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