示例#1
0
        public bool Option()
        {
            //Greetings

            Console.WriteLine("###########################");
            Console.WriteLine("#Welcome to Grid Game v.1!#");
            Console.WriteLine("###########################");

            //Variable declaration

            var  input  = new InputCapturer();
            int  choice = input.Choice("\n\t1 - Continue\n\t2 - Skip", 1, 2);
            bool option = false;

            //Checking the value

            if (choice == 1)
            {
                option = true;
            }
            else
            {
                option = false;
            }
            return(option);
        }
示例#2
0
        public int Stamina()
        {
            //Class call

            var input = new InputCapturer();

            //Variable declaration

            int stamina       = 10;
            int stamina_cost  = 2;
            int stamina_regen = 1;

            bool stamina_toggle = false;

            return(stamina);
        }