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)}."); }
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)}."); }
public static void ListNouns(World world) { Console.WriteLine($"Nouns are: {HelpfulMethods.TurnStringListIntoString(world.legitimateNouns)}."); }