merge develop
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
#include <Godot.hpp>
|
||||
|
||||
#include "StateMachine.h"
|
||||
#include "State.h"
|
||||
#include "Walk.h"
|
||||
#include "Run.h"
|
||||
#include "Main.h"
|
||||
#include "Player.h"
|
||||
#include "PlayerIdle.h"
|
||||
|
||||
using namespace godot;
|
||||
|
||||
@@ -21,6 +26,11 @@ extern "C" void GDN_EXPORT godot_gdnative_terminate(godot_gdnative_terminate_opt
|
||||
extern "C" void GDN_EXPORT godot_nativescript_init(void *handle)
|
||||
{
|
||||
Godot::nativescript_init(handle);
|
||||
register_class<StateMachine>();
|
||||
register_class<State>();
|
||||
register_class<Walk>();
|
||||
register_class<Run>();
|
||||
register_class<Main>();
|
||||
register_class<Player>();
|
||||
register_class<PlayerIdle>();
|
||||
}
|
||||
|
Reference in New Issue
Block a user