Exemplo n.º 1
0
        public void writeToFile(RubikFileWriter p_writer)
        {
            foreach (var l_itr in c_array)
            {
                (l_itr as Rotation).writeToFile(p_writer);
            }

            p_writer.write("\n");
        }
Exemplo n.º 2
0
        public void writeToFile(RubikFileWriter p_write)
        {
            String l_toWrite = String.Format(" ({0},{1})", c_face.getInt(), c_direction.getInt());

            p_write.write(l_toWrite);
        }