#include <Godot.hpp>

#include "ball.hpp"
#include "ceiling_floor.hpp"
#include "paddle.hpp"
#include "wall.hpp"

extern "C" void GDN_EXPORT godot_gdnative_init(godot_gdnative_init_options *o) {
	godot::Godot::gdnative_init(o);
}

extern "C" void GDN_EXPORT godot_gdnative_terminate(godot_gdnative_terminate_options *o) {
	godot::Godot::gdnative_terminate(o);
}

extern "C" void GDN_EXPORT godot_nativescript_init(void *handle) {
	godot::Godot::nativescript_init(handle);

	godot::register_class<Ball>();
	godot::register_class<CeilingFloor>();
	godot::register_class<Paddle>();
	godot::register_class<Wall>();
}
