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