godot-cpp-utils/register_types.cpp

22 lines
628 B
C++
Raw Normal View History

2024-05-28 12:14:09 +00:00
#include "register_types.hpp"
#include "game_mode.hpp"
#include "game_root.hpp"
2024-05-28 12:14:09 +00:00
#include "game_state.hpp"
#include "level.hpp"
#include "player_input.hpp"
#include "spawn_point.hpp"
#include <godot_cpp/core/class_db.hpp>
2024-05-28 12:14:09 +00:00
namespace gd = godot;
2024-05-28 12:14:09 +00:00
namespace utils {
2024-05-28 12:14:09 +00:00
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>();
}
2024-05-28 12:14:09 +00:00
}