diff options
author | cel <cel@blos.sm> | 2022-07-15 22:07:01 +0100 |
---|---|---|
committer | cel <cel@blos.sm> | 2022-07-15 22:07:01 +0100 |
commit | ae7b5a4d0627a1f944d59c3041b0bb0264d4e568 (patch) | |
tree | 08b99060154b99299ef23d16ae9d3bc9916a6a7f /rust/src/lib.rs | |
parent | a46a91e183a272e012354a6f0263299448205acb (diff) | |
download | 2022-ae7b5a4d0627a1f944d59c3041b0bb0264d4e568.tar.gz 2022-ae7b5a4d0627a1f944d59c3041b0bb0264d4e568.tar.bz2 2022-ae7b5a4d0627a1f944d59c3041b0bb0264d4e568.zip |
create base project structure
Diffstat (limited to '')
-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..7958395 100644 --- a/rust/src/lib.rs +++ b/rust/src/lib.rs @@ -1,5 +1,6 @@ mod game; mod spinning_cube; +mod test; 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::<test::SpinningCubeReverse>(); } // macros that create the entry-points of the dynamic library. |