/// <summary>
 /// Loads the game from the save file.
 /// </summary>
 public void LoadGame(Room roomClass)
 {
     TextReader XMLReader = new StreamReader("RoomSave.xml"); // creates new StreamReader which reads in the file path
     XmlSerializer deserializer = new XmlSerializer(typeof(RoomData));
     saveRoomData = (RoomData)deserializer.Deserialize(XMLReader);
     roomClass.RoomNumber = saveRoomData.roomNumber;
     XMLReader.Close();
 }
        /// <summary>
        /// Saves the game in the same directory as the executable.
        /// </summary>
        private void SaveGame(Room roomClass)
        {
            saveRoomData = new RoomData() // prime SaveData for saving game info
            {
                roomNumber = roomClass.RoomNumber,
            };

            DeleteExisting(); // Deletes old files if they exist
            System.IO.StreamWriter file = new System.IO.StreamWriter("RoomSave.xml");
            XmlSerializer serializer = new XmlSerializer(typeof(RoomData));
            serializer.Serialize(file, saveRoomData);
            file.Close();
        }