Example #1
0
        public void GetKeywords1()
        {
            string[] keys = { "A", "B", "C", "D" };
            string   key  = InteractionUtil.getKeywords("\nChoose an option", keys, 3);

            GoatMessageUtil.msg("You chose {0}.", key);
        }
Example #2
0
        public void GetKeywords2()
        {
            string key = InteractionUtil.getKeywords("Which entity do you want to create? [Circle/Block] : ", "Circle Block");

            GoatMessageUtil.msg("You chose {0}.", key);
        }