Exemple #1
0
 public string GetInfo()
 {
     return($"On this stage installed {Engines.Count()} engines and {FuelTanks.Count()} fuel tanks" +
            $"{Environment.NewLine}Stage mass: {_stageMass} tons" +
            $"{Environment.NewLine}Stage fuel tanks capacity: {_fuelTanksCapacity} tons" +
            $"{Environment.NewLine}Stage fuel consumption: {_fuelConsumption} tons/sec");
 }
 public bool GotProblems()
 {
     return(Engines.Count(e => e.State == EngineState.Blown ||
                          e.State == EngineState.Off) <
            (Engines.Count() / 2));
 }