use std::collections::BTreeSet; use bevy::prelude::{Component, Entity, Message, Resource}; /// A thrust solution, found by the thrust solver on the client. /// `thrusters_on` is the set of thrusters that should be on. /// Any thrusters not in this set should be off. #[derive(Eq, PartialEq, Debug, Clone, Resource, Component, Message)] pub struct ThrustSolution { pub thrusters_on: BTreeSet, pub converged: bool }