public void RegiontoAbsolute()
{
X = X * 16 * 32;
Z = Z * 16 * 32;
}
public static String ToString(String path) { Match m = Regex.Match(path, @"r\.(-?\d+)\.(-?\d+)\.mca"); Coord c = new Coord(int.Parse(m.Groups[1].Value),int.Parse(m.Groups[2].Value)); Coord c2 = new Coord(int.Parse(m.Groups[1].Value) + 1, int.Parse(m.Groups[2].Value) + 1); c.RegiontoAbsolute(); c2.RegiontoAbsolute(); return String.Format("Region {0}, {1} :: ({2}, {3}) to ({4}, {5})", m.Groups[1].Value, m.Groups[2].Value, c.X, c.Z, c2.X - 1, c2.Z - 1); }