aboutsummaryrefslogtreecommitdiffstats
path: root/rust/src/lib.rs
diff options
context:
space:
mode:
authorLibravatar David <david003@gmx.net>2022-07-16 11:48:18 +0200
committerLibravatar David <david003@gmx.net>2022-07-16 11:48:18 +0200
commit26151af89950d682cb62204461c02bf5abb23016 (patch)
tree51659691ccfe68848ab11a905d1f3e79ace6f165 /rust/src/lib.rs
parent4f2bc986240c61bd455742c0cee3c3c796fc5e6b (diff)
parent5678a04042b7b2ea52a927101cf66064535dc272 (diff)
download2022-26151af89950d682cb62204461c02bf5abb23016.tar.gz
2022-26151af89950d682cb62204461c02bf5abb23016.tar.bz2
2022-26151af89950d682cb62204461c02bf5abb23016.zip
Merge branch 'BasicDie'
Diffstat (limited to 'rust/src/lib.rs')
-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.