aboutsummaryrefslogtreecommitdiffstats
path: root/rust/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--rust/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/rust/src/lib.rs b/rust/src/lib.rs
index 7958395..de26e5d 100644
--- a/rust/src/lib.rs
+++ b/rust/src/lib.rs
@@ -1,6 +1,7 @@
mod game;
mod spinning_cube;
mod test;
+mod basic_die;
use gdnative::prelude::{godot_init, InitHandle};
@@ -9,6 +10,7 @@ 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.