rust/lib-hedgewars-engine/src/lib.rs
changeset 16016 4933920eba89
parent 15893 5b3beb90e1a6
child 16017 e8afb1bf2779
--- a/rust/lib-hedgewars-engine/src/lib.rs	Sun May 19 15:55:26 2024 +0200
+++ b/rust/lib-hedgewars-engine/src/lib.rs	Mon May 20 14:58:30 2024 +0200
@@ -62,7 +62,9 @@
 }
 
 #[no_mangle]
-pub extern "C" fn simple_event(engine_state: &mut EngineInstance, event_type: SimpleEventType) {}
+pub extern "C" fn simple_event(engine_state: &mut EngineInstance, event_type: SimpleEventType) {
+    println!("{:?}", event_type);
+}
 
 #[no_mangle]
 pub extern "C" fn long_event(