Beispiel #1
0
        public static string GetGasolineType()
        {
            string[] supportedGasolineTypes = m_Garage.GetSupportedGasolineTypes();
            showSubMenu(supportedGasolineTypes, "Please choose a Gasoline Type from the following options:");
            int userChoice = Utils.GetUserMenuChoice(supportedGasolineTypes.Length, 1);

            return(supportedGasolineTypes[userChoice - 1]);
        }