public static CharacterSet TestCharSet() { CharacterSet ac = new CharacterSet(); foreach (var m in TestMobs()) { ac.AddMonsters(m, 1); } CharData c = new CharData("Name", "_Name", 6, 6); ac.AddCharacter(c); return(ac); }
private static CharacterSet CharactersloaderV1(StreamReader rdr, string[] check) { CharacterSet cs = new CharacterSet(); while (rdr.EndOfStream == false) { string line = rdr.ReadLine(); var seperators = line.Split(','); // File Structure = NAME,PlayerName, EpicDex, JoinBattle CharData c = new CharData(seperators[0], seperators[1], Convert.ToInt16(seperators[3]), Convert.ToInt16(seperators[2])); cs.AddCharacter(c); } return(cs); }