godot-cpp-utils/register_types.cpp

22 lines
628 B
C++

#include "register_types.hpp"
#include "game_mode.hpp"
#include "game_root.hpp"
#include "game_state.hpp"
#include "level.hpp"
#include "player_input.hpp"
#include "spawn_point.hpp"
#include <godot_cpp/core/class_db.hpp>
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>();
}
}