merge develop

This commit is contained in:
2022-04-09 22:16:27 -04:00
parent b3392035c9
commit ac86f148ba
3 changed files with 32 additions and 4 deletions

View File

@@ -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>();
}