aboutsummaryrefslogtreecommitdiffstats
path: root/rust/src/lib.rs
diff options
context:
space:
mode:
authorLibravatar IcECreAm777 <31211782+IcECreAm777@users.noreply.github.com>2022-07-16 04:20:11 +0200
committerLibravatar IcECreAm777 <31211782+IcECreAm777@users.noreply.github.com>2022-07-16 04:20:11 +0200
commita8b66a60dca81a4e5d4ab995226b77ba29bc70c3 (patch)
tree60c2ba6826daf6ec60988330b3b5078c56a98c63 /rust/src/lib.rs
parenta46a91e183a272e012354a6f0263299448205acb (diff)
download2022-a8b66a60dca81a4e5d4ab995226b77ba29bc70c3.tar.gz
2022-a8b66a60dca81a4e5d4ab995226b77ba29bc70c3.tar.bz2
2022-a8b66a60dca81a4e5d4ab995226b77ba29bc70c3.zip
basic camera movement
also events for other movements
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 1cc766a..e2ed1ac 100644
--- a/rust/src/lib.rs
+++ b/rust/src/lib.rs
@@ -1,5 +1,6 @@
mod game;
mod spinning_cube;
+mod BasicDie;
use gdnative::prelude::{godot_init, InitHandle};
@@ -7,6 +8,7 @@ use gdnative::prelude::{godot_init, InitHandle};
fn init(handle: InitHandle) {
handle.add_class::<game::Game>();
handle.add_class::<spinning_cube::SpinningCube>();
+ handle.add_class::<BasicDie::BasicDie>();
}
// macros that create the entry-points of the dynamic library.