fix: changed calls to ClassDB::register_class to macro GDREGISTER_CLASS
parent
308d073a93
commit
28938ae929
|
@ -11,11 +11,11 @@ namespace gd = godot;
|
||||||
|
|
||||||
namespace utils {
|
namespace utils {
|
||||||
void godot_cpp_utils_register_types() {
|
void godot_cpp_utils_register_types() {
|
||||||
gd::ClassDB::register_class<utils::GameMode>();
|
gd::GDREGISTER_CLASS(utils::GameMode);
|
||||||
gd::ClassDB::register_class<utils::GameRoot3D>();
|
gd::GDREGISTER_CLASS(utils::GameRoot3D);
|
||||||
gd::ClassDB::register_class<utils::GameState>();
|
gd::GDREGISTER_CLASS(utils::GameState);
|
||||||
gd::ClassDB::register_class<utils::Level3D>();
|
gd::GDREGISTER_CLASS(utils::Level3D);
|
||||||
gd::ClassDB::register_class<utils::PlayerInput>();
|
gd::GDREGISTER_CLASS(utils::PlayerInput);
|
||||||
gd::ClassDB::register_class<utils::SpawnPoint3D>();
|
gd::GDREGISTER_CLASS(utils::SpawnPoint3D);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue