public TmxTerrain(XElement xTerrain) { Name = (string) xTerrain.Attribute("name"); Tile = (int) xTerrain.Attribute("tile"); Properties = new PropertyDict(xTerrain.Element("properties")); }