public void FlyTo(IPlanet planet) { if (TotalTimeTraveled >= 40) { Console.WriteLine("If you travel here, you will lose the game. Travel anyway? (Y/N)"); } int fuelExpended = TravelSystem.CalculateFuel(); if (fuelExpended >= FuelUnits) { Console.WriteLine("If you travel here, you will run out of fuel and lose the game. Travel anyway? (Y/N)"); } CurrentPlanet = planet; Console.WriteLine("Traveling..."); Console.WriteLine($"You have now arrived at: {CurrentPlanet.GetPlanetName()}"); FuelUnits -= fuelExpended; }