private void Save_Loc_Click(object sender, RoutedEventArgs e) { string jsondata = JsonHelper.FromClass(Locations); File.WriteAllText(_locationsFilename, jsondata); }
private void Save_Ent_Click(object sender, RoutedEventArgs e) { string jsondata = JsonHelper.FromClass(Entities); File.WriteAllText(_entitiesFilename, jsondata); }
private void Save_Map_Click(object sender, RoutedEventArgs e) { string jsondata = JsonHelper.FromClass(Map); File.WriteAllText(_mapFilename, jsondata); }