Ejemplo n.º 1
0
        public static void ListCommands(World world)
        {
            //List<String> stringList = new List<string>(DataStorage.legitimateCommands);

            //Console.WriteLine($"Commands are: {HelpfulMethods.TurnStringListIntoString(stringList)}");

            Console.WriteLine($"Commands are: {HelpfulMethods.TurnStringListIntoString(world.legitimateCommands)}.");
        }
Ejemplo n.º 2
0
        public static void GetExits(World world)
        {
            Location      loc   = world.GetLocation(world.GetPlayer().GetLocationName());
            List <string> exits = loc.GetExits();


            Console.Write($"Exits are: {HelpfulMethods.TurnStringListIntoString(exits)}.");
        }
Ejemplo n.º 3
0
 public static void ListNouns(World world)
 {
     Console.WriteLine($"Nouns are: {HelpfulMethods.TurnStringListIntoString(world.legitimateNouns)}.");
 }