From 98569dc5e8ee01b19ee82852a807f6a2b911dae4 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 2 Dec 2026 14:59:29 +0400 Subject: feat(ui): watch a warbot on autopilot from its cockpit --- apps/fparkan-game/src/satellite_map.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'apps/fparkan-game/src/satellite_map.rs') diff --git a/apps/fparkan-game/src/satellite_map.rs b/apps/fparkan-game/src/satellite_map.rs index a2be6288..a48ba72f 100644 --- a/apps/fparkan-game/src/satellite_map.rs +++ b/apps/fparkan-game/src/satellite_map.rs @@ -118,6 +118,11 @@ impl SatelliteMap { self.visible = true; } + #[cfg(windows)] + pub(super) fn is_visible(&self) -> bool { + self.visible + } + pub(super) fn hide(&mut self) -> bool { std::mem::replace(&mut self.visible, false) } -- cgit v1.2.3