aboutsummaryrefslogtreecommitdiffstats
path: root/rust/src/lib.rs
blob: c8afc066fd737426c2be1c0f2763342d6fe0996a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
mod buff_bounce;
mod buff_phase;
mod buff_trait;
mod buff_ball;
mod buff_extra;
<<<<<<< HEAD
pub mod goal_trigger;
mod test;
=======
>>>>>>> menu
mod basic_die;

use gdnative::prelude::{godot_init, InitHandle};

// Function that registers all exposed classes to Godot
fn init(handle: InitHandle) {
<<<<<<< HEAD
    handle.add_class::<game::Game>();
    handle.add_class::<spinning_cube::SpinningCube>();
    handle.add_class::<goal_trigger::GoalTriggerZone>();
    handle.add_class::<test::SpinningCubeReverse>();
=======
>>>>>>> menu
    handle.add_class::<basic_die::BasicDie>();
}

// macros that create the entry-points of the dynamic library.
godot_init!(init);