aboutsummaryrefslogtreecommitdiffstats
path: root/rust/src/lib.rs
diff options
context:
space:
mode:
authorLibravatar IcECreAm777 <31211782+IcECreAm777@users.noreply.github.com>2022-07-16 21:09:11 +0200
committerLibravatar IcECreAm777 <31211782+IcECreAm777@users.noreply.github.com>2022-07-16 21:09:11 +0200
commit9c061b9997d0add3298b1230426dd7332b91420f (patch)
treee26c6f23178e6dc3078ddc1948cd37180336e7d4 /rust/src/lib.rs
parent28e29e51e2c48868d0a75586ba3f8d73858342e3 (diff)
download2022-9c061b9997d0add3298b1230426dd7332b91420f.tar.gz
2022-9c061b9997d0add3298b1230426dd7332b91420f.tar.bz2
2022-9c061b9997d0add3298b1230426dd7332b91420f.zip
goal post hitbox and level loader in gd script
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 534955f..401b668 100644
--- a/rust/src/lib.rs
+++ b/rust/src/lib.rs
@@ -5,6 +5,7 @@ mod buff_phase;
mod buff_trait;
mod buff_ball;
mod buff_extra;
+pub mod goal_trigger;
use gdnative::prelude::{godot_init, InitHandle};
@@ -12,6 +13,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::<goal_trigger::GoalTriggerZone>();
}
// macros that create the entry-points of the dynamic library.