aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-runtime/src/unit_patrol.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/fparkan-runtime/src/unit_patrol.rs')
-rw-r--r--crates/fparkan-runtime/src/unit_patrol.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/fparkan-runtime/src/unit_patrol.rs b/crates/fparkan-runtime/src/unit_patrol.rs
index 4f708af3..5e083403 100644
--- a/crates/fparkan-runtime/src/unit_patrol.rs
+++ b/crates/fparkan-runtime/src/unit_patrol.rs
@@ -23,6 +23,7 @@ use std::collections::{BTreeMap, HashSet, VecDeque};
mod orders;
pub(super) use orders::supports_order;
+pub(super) use orders::UnitOrder;
#[derive(Clone)]
pub(super) struct UnitPatrol {
@@ -45,7 +46,7 @@ pub(super) struct UnitPatrol {
}
#[derive(Clone)]
-struct PatrollingUnit {
+pub(super) struct PatrollingUnit {
handle: ObjectHandle,
center: [f32; 2],
center_object: Option<ObjectHandle>,