dungeonanddeamon/DungeonAndDeamonScript/DungeonAndDemaonScript/GodotLibrary.cpp
2020-03-28 12:53:53 +01:00

16 lines
426 B
C++

#include "GestionPlayer.h"
using namespace godot;
extern "C" void GDN_EXPORT godot_gdnative_init(godot_gdnative_init_options * o) {
Godot::gdnative_init(o);
}
extern "C" void GDN_EXPORT godot_gdnative_terminate(godot_gdnative_terminate_options * o) {
Godot::gdnative_terminate(o);
}
extern "C" void GDN_EXPORT godot_nativescript_init(void* handle) {
Godot::nativescript_init(handle);
register_class<GestionPlayer>();
}