예제 #1
0
파일: playerDB.cs 프로젝트: hetag34/ship34
 public void saveDB()
 {
     foreach (GamePageData save in this.saves)
     {
         SerializeUtilities <GamePageData> .Serialize(save, this.dirPath + "\\" + save.boardPlacementData.GetStartPageData().getPlayerName() + ".ser");
     }
 }
예제 #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");
     }
 }
예제 #3
0
 public void saveDB()
 {
     SerializeUtilities <List <ScoreRecord> > .Serialize(this.records, this.fileName);
 }