Exemple #1
0
        public static void WriteOutput(string fileName, cord[] path)
        {
            StreamWriter sw = new StreamWriter(fileName);
            View         v  = new RightView();

            for (int i = 0; i < path.Length - 1; i++)
            {
                sw.WriteLine((int)v.translateMove(path[i], path[i + 1], ref v));
            }

            sw.Close();
        }