fix: changed calls to ClassDB::register_class to macro GDREGISTER_CLASS

stripped
Sara 2024-08-15 19:38:50 +02:00
parent 308d073a93
commit 28938ae929
1 changed files with 6 additions and 6 deletions

View File

@ -11,11 +11,11 @@ namespace gd = godot;
namespace utils {
void godot_cpp_utils_register_types() {
gd::ClassDB::register_class<utils::GameMode>();
gd::ClassDB::register_class<utils::GameRoot3D>();
gd::ClassDB::register_class<utils::GameState>();
gd::ClassDB::register_class<utils::Level3D>();
gd::ClassDB::register_class<utils::PlayerInput>();
gd::ClassDB::register_class<utils::SpawnPoint3D>();
gd::GDREGISTER_CLASS(utils::GameMode);
gd::GDREGISTER_CLASS(utils::GameRoot3D);
gd::GDREGISTER_CLASS(utils::GameState);
gd::GDREGISTER_CLASS(utils::Level3D);
gd::GDREGISTER_CLASS(utils::PlayerInput);
gd::GDREGISTER_CLASS(utils::SpawnPoint3D);
}
}