public bool Save(IGame game) { return(RatUtils.SaveFile(ParseSaveName(game.Guid), game)); }
private bool SaveLeaderBoard() { return(RatUtils.SaveFile(LeaderBoardFileName, scores)); }
public IGame Load(Guid guid) { return((IGame)RatUtils.LoadFile(ParseSaveName(guid))); }
private SortedSet <IBoardItem> LoadLeaderBoard() { return((SortedSet <IBoardItem>)RatUtils.LoadFile(LeaderBoardFileName) ?? new SortedSet <IBoardItem>()); }