aboutsummaryrefslogtreecommitdiffstats
path: root/rust/src/lib.rs
diff options
context:
space:
mode:
authorLibravatar David <david003@gmx.net>2022-07-16 11:42:39 +0200
committerLibravatar David <david003@gmx.net>2022-07-16 11:42:39 +0200
commit5678a04042b7b2ea52a927101cf66064535dc272 (patch)
tree8d2cb1625452f0ad3f4ca53bbe523e1b5562a9cb /rust/src/lib.rs
parentbc0a59f2955b1e8bfd0870860d33c04205e6389e (diff)
download2022-5678a04042b7b2ea52a927101cf66064535dc272.tar.gz
2022-5678a04042b7b2ea52a927101cf66064535dc272.tar.bz2
2022-5678a04042b7b2ea52a927101cf66064535dc272.zip
add separate shooting intensity
Diffstat (limited to '')
-rw-r--r--rust/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/src/lib.rs b/rust/src/lib.rs
index e2ed1ac..1041272 100644
--- a/rust/src/lib.rs
+++ b/rust/src/lib.rs
@@ -1,6 +1,6 @@
mod game;
mod spinning_cube;
-mod BasicDie;
+mod basic_die;
use gdnative::prelude::{godot_init, InitHandle};
@@ -8,7 +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>();
+ handle.add_class::<basic_die::BasicDie>();
}
// macros that create the entry-points of the dynamic library.