Example #1
0
	public void SaveSpellToText(string SaveFileName, SpellData MySpellData) {
		var MyFile = File.CreateText(SaveFileName);
		List<string> MyData = MySpellData.ConvertToTextData ();
		for (int i = 0; i < MyData.Count; i++) {
			MyFile.WriteLine (MyData[i]);
		}
		MyFile.Close();
	}