/// <summary> /// Reads the region stored at the given location. /// </summary> /// <param name="in_path">The location of the region to load.</param> public void LoadMapRegion(string in_path) { // TODO Convert this to use multiplatform utils. var serialized = File.ReadAllText(in_path); if (MapRegion.TryDeserializeFromString(serialized, out var result)) { _currentRegion = result; } else { Error.Handle($"Could not load region from {in_path}"); } }