Ejemplo n.º 1
0
        public double CalculateLemonsFactor(int lemonsPerPitcher)
        {
            double lemonsFactor = Convert.ToDouble(UserInterface.Limiter(lemonsPerPitcher, 0, 10));

            return(lemonsFactor * 10);
        }
Ejemplo n.º 2
0
        public double CalculateSugarFactor(int sugarCupsPerPitcher)
        {
            double sugarFactor = Convert.ToDouble(UserInterface.Limiter(sugarCupsPerPitcher, 0, 10));

            return(sugarFactor * 10);
        }
Ejemplo n.º 3
0
 public void SetGameLength()
 {
     gameLength = UserInterface.Limiter(UserInterface.IntGetUserInput("How many days do you have until your parents get home? (Max 30)"), 1, 30); // validate num?
     Console.Clear();
 }