コード例 #1
0
 private static void OutputTelosHealth(TelosHealth telosCalculations)
 {
     Console.WriteLine("Phase One: " + telosCalculations.StartingHealth);
     Console.WriteLine("Phase Two: " + telosCalculations.PhaseTwoHealth());
     Console.WriteLine("Phase Three: " + telosCalculations.PhaseThreeHealth());
     Console.WriteLine("Phase Four: " + telosCalculations.PhaseFourStartingHealth);
     Console.WriteLine("Phase Four F1: " + telosCalculations.PhaseFourFontOneHealth());
     Console.WriteLine("Phase Four F2: " + telosCalculations.PhaseFourFontTwoHealth());
     Console.WriteLine("Phase Four F3: " + telosCalculations.PhaseFourFontThreeHealth());
 }
コード例 #2
0
        public static void Main(string[] args)
        {
            var repeat = true;

            while (repeat)
            {
                var enrage            = EnrageInput();
                var telosCalculations = new TelosHealth(enrage);
                OutputTelosHealth(telosCalculations);
                repeat = AskToPlayAgain();
            }
        }