public static bool CanExecuteOrders([CanBeNull] OrdersComponent orders, [CanBeNull] OrbitalUnitDesignComponent unitDesign)
 {
     return((orders?.HasActiveOrder <MovementOrderBase>() ?? false) &&
            ((unitDesign?.MaxSpeedPerTick ?? 0) > 0));
 }
Пример #2
0
 private OrdersComponent(OrdersComponent that)
     : base(that)
 {
     m_orders = that.m_orders.Select(x => x.Clone()).ToList();
 }