public static void Save(PlayerModel player) { var manager = new XmlManager<PlayerModel>(); manager.Save(SaveGameFile, player); }
public static void Reset() { var player = new PlayerModel {Money = 100}; Save(player); }