blob: e2ed1ac748290992a49f1a126c90ff4515938b12 (
plain) (
tree)
|
|
mod game;
mod spinning_cube;
mod BasicDie;
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::<BasicDie::BasicDie>();
}
// macros that create the entry-points of the dynamic library.
godot_init!(init);
|