public static void LoadTilesetXml(string p_File, out Tileset o_Tileset)
 {
     XmlSerializer serializer = new XmlSerializer(typeof(Tileset));
     StreamReader reader = new StreamReader(p_File);
     o_Tileset = (Tileset)serializer.Deserialize(reader);
     reader.Close();
 }
 public static void SaveTilesetXml(string p_File, Tileset p_Tileset)
 {
     XmlSerializer serializer = new XmlSerializer(typeof(Tileset));
     StreamWriter writer = new StreamWriter(p_File);
     XmlSerializerNamespaces namespaces = new XmlSerializerNamespaces();
     namespaces.Add(string.Empty, string.Empty);
     serializer.Serialize(writer, p_Tileset, namespaces);
     writer.Close();
 }
 public void GetTilesetByID(int p_ID)
 {
     ActiveTileset = Tilesets.Find(t => t.ID == p_ID);
 }