/// Create the game and initialise its internal map. public Game() { places = Place.createPlaces("place_data.txt"); currentPlace = places["outside"]; quitter = new Quitter(); goer = new Goer(this); Dictionary <string, string> helpDetails = new Dictionary <string, string>(); helper = new Helper(helpDetails); helpDetails["help"] = helper.Help(); helpDetails["go"] = goer.Help(); helpDetails["quit"] = quitter.Help(); }
/// Create the game and initialise its internal map. public Game() { places = Place.createPlaces("place_data.txt"); CurrentPlace = places["outside"]; commandMapper = new CommandMapper(this); }