Example #1
0
        public static bool GetTileCoordsFromFileName(string file, out int x, out int y)
        {
            var ss = new StringStream(file);

            x = ss.NextInt(-1, "_");
            y = ss.NextInt(-1, ".");
            return(x >= 0 && y >= 0);
        }