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