You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Trek-12/source/Trek-12/DataContractPersistence/DataToPersist.cs

28 lines
779 B

using System.Collections.ObjectModel;
using Models.Game;
namespace DataContractPersistence
{
public class DataToPersist
{
/// <summary>
/// List of players
/// </summary>
public ObservableCollection<Player> Players { get; set; }
/// <summary>
/// List of games (with all the data in it to be able to recreate the game)
/// </summary>
public ObservableCollection<Game> Games { get; set; }
/// <summary>
/// List of maps with their boards
/// </summary>
public ObservableCollection<Map> Maps { get; set; }
/// <summary>
/// List of best scores
/// </summary>
public ObservableCollection<BestScore> BestScores { get; set; }
}
}