예제 #1
0
        static void DisplayTimBeak(Finch tim)
        {
            DisplayHeader("Tim Beak Position");

            if (tim.isBeakDown())
            {
                Console.WriteLine("Tims beak is down.");
            }
            else if (tim.isBeakUp())
            {
                Console.WriteLine("Tims beak is up.");
            }
            else
            {
                Console.WriteLine("Tims beak is level.");
            }

            DisplayKeyToContinue();
        }