예제 #1
0
 public LoadConfig()
 {
     file = new FileOperation();
     file.SetPath("config.txt");
     file.Open();
 }
예제 #2
0
 public PlayerList()
 {
     file = new FileOperation();
     file.SetPath(Config.Instance.PathPlayer);
     file.Open();
 }
예제 #3
0
 public void SaveArmyGeneral()
 {
     file.SetPath(pathToSave + "generalArmy-" + GetDate() + ".txt");
     file.Open();
     file.Save(CreatGeneralArmyStringData());
 }