diff options
author | IcECreAm777 <31211782+IcECreAm777@users.noreply.github.com> | 2022-07-16 04:20:11 +0200 |
---|---|---|
committer | IcECreAm777 <31211782+IcECreAm777@users.noreply.github.com> | 2022-07-16 04:20:11 +0200 |
commit | a8b66a60dca81a4e5d4ab995226b77ba29bc70c3 (patch) | |
tree | 60c2ba6826daf6ec60988330b3b5078c56a98c63 /rust/src/lib.rs | |
parent | a46a91e183a272e012354a6f0263299448205acb (diff) | |
download | 2022-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.rs | 2 |
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. |