public static bool TravelMenu(Character character, Ship ship) { Console.Clear(); Graphics.TravelMenu(character, ship); switch (Console.ReadLine()) { case "1": ship.Travel(character, Planet.Earth()); return(true); case "2": ship.Travel(character, Planet.AlphaProxima()); return(true); case "3": ship.Travel(character, Planet.Exandria()); return(true); case "4": ship.Travel(character, Planet.Midgard()); return(true); case "5": ship.Travel(character, Planet.MiddleEarth()); return(true); default: return(true); } }
public Ship(int fuelCapacity, string shipName, Planet location) { this.FuelCapacity = fuelCapacity; this.ShipName = shipName; this.Location = Planet.Earth(); }