mirror of
https://forge.univ-lyon1.fr/tplifap4/dungeonanddeamon.git
synced 2024-02-27 13:31:50 +01:00
Let's code
This commit is contained in:
@ -0,0 +1,16 @@
|
||||
#include "Player.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<Player>();
|
||||
}
|
Reference in New Issue
Block a user