blob: de26e5d28d34162b2de2c68c45233f4ceb71c0ea (
plain) (
tree)
|
|
mod game;
mod spinning_cube;
mod test;
mod basic_die;
use gdnative::prelude::{godot_init, InitHandle};
// Function that registers all exposed classes to Godot
fn init(handle: InitHandle) {
handle.add_class::<game::Game>();
handle.add_class::<spinning_cube::SpinningCube>();
handle.add_class::<test::SpinningCubeReverse>();
handle.add_class::<basic_die::BasicDie>();
}
// macros that create the entry-points of the dynamic library.
godot_init!(init);
|