aboutsummaryrefslogtreecommitdiffstats
path: root/rust/src/lib.rs
blob: f683d354199b228d460a86ab92db34bf197abba3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
mod buff_bounce;
mod buff_phase;
mod buff_trait;
mod buff_ball;
mod buff_extra;
mod basic_die;

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

// Function that registers all exposed classes to Godot
fn init(handle: InitHandle) {
    handle.add_class::<basic_die::BasicDie>();
}

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