Ejemplo n.º 1
0
        public static string GetVehicleType()
        {
            string[] supportedVehicleTypes = m_Garage.GetSupportedVehicles();
            showSubMenu(supportedVehicleTypes, "Please choose the Vehicle's Type from the following options:");
            int userChoice = Utils.GetUserMenuChoice(supportedVehicleTypes.Length, 1);

            return(supportedVehicleTypes[userChoice - 1]);
        }