blob: 401b6681f18a207fa27e6e40ab41ea1b4449a0af (
plain) (
tree)
|
|
mod game;
mod spinning_cube;
mod buff_bounce;
mod buff_phase;
mod buff_trait;
mod buff_ball;
mod buff_extra;
pub mod goal_trigger;
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::<goal_trigger::GoalTriggerZone>();
}
// macros that create the entry-points of the dynamic library.
godot_init!(init);
|