feat: registered godot-cpp-utils
This commit is contained in:
parent
e968acd438
commit
2868e65cb5
|
@ -1,4 +1,10 @@
|
|||
#include "register_types.h"
|
||||
#include "utils/game_mode.hpp"
|
||||
#include "utils/game_root.hpp"
|
||||
#include "utils/game_state.hpp"
|
||||
#include "utils/level.hpp"
|
||||
#include "utils/player_input.hpp"
|
||||
#include "utils/spawn_point.hpp"
|
||||
#include <gdextension_interface.h>
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/defs.hpp>
|
||||
|
@ -12,7 +18,14 @@ void initialize_gdextension_types(ModuleInitializationLevel p_level)
|
|||
return;
|
||||
}
|
||||
}
|
||||
ClassDB::register_class<GameMode>();
|
||||
ClassDB::register_class<GameRoot3D>();
|
||||
ClassDB::register_class<GameState>();
|
||||
ClassDB::register_class<Level3D>();
|
||||
ClassDB::register_class<PlayerInput>();
|
||||
ClassDB::register_class<SpawnPoint3D>();
|
||||
|
||||
}
|
||||
|
||||
extern "C"
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue