Ejemplo n.º 1
0
 public void saveDB()
 {
     foreach (GamePageData save in this.saves)
     {
         SerializeUtilities <GamePageData> .Serialize(save, this.dirPath + "\\" + save.boardPlacementData.GetStartPageData().getPlayerName() + ".ser");
     }
 }
Ejemplo n.º 2
0
 public void saveDB()
 {
     /* Serialize each GamePageData in this.saves */
     foreach (GamePageData save in this.saves)
     {
         /* Saves the GamePageData at save's player's named file */
         SerializeUtilities <GamePageData> .Serialize(save, this.dirPath + "\\" + save.boardPlacementData.GetStartPageData().getPlayerName() + ".ser");
     }
 }
Ejemplo n.º 3
0
 public void saveDB()
 {
     SerializeUtilities <List <ScoreRecord> > .Serialize(this.records, this.fileName);
 }