static void Main(string[] args)
        {
            InputCacher.AddCache("10 6 ");
            InputCacher.AddCache("XXXXXXXXXX");
            InputCacher.AddCache("X....X...X");
            InputCacher.AddCache("X....X...X");
            InputCacher.AddCache("X.X..X.X.X");
            InputCacher.AddCache("X.X..>.X.X");
            InputCacher.AddCache("XXXXXXXXXX");
            InputCacher.Disable();

            Bludiste bludiste = new Bludiste(CodexReader.getInt(), CodexReader.getInt());

            List <int> buffer = new List <int>();

            while (buffer.Count() < bludiste.VelikostMapy())
            {
                int c = InputCacher.Read();
                if (".X^>v<".Contains((char)c))
                {
                    buffer.Add(c);
                }
            }
            bludiste.NactiMapu(buffer.ToArray());

            for (int i = 1; i <= 20; i++)
            {
                bludiste.PohniObjekty();
                bludiste.VypisMapu();
            }
        }
 public Robot(Bludiste bludiste, Souradnice souradnice, Orientace smer)
 {
     this.souradnice = souradnice;
     this.smer = smer;
     this.bludiste = bludiste;
 }
 public Robot(Bludiste bludiste, Souradnice souradnice, Orientace smer)
 {
     this.souradnice = souradnice;
     this.smer       = smer;
     this.bludiste   = bludiste;
 }
        static void Main(string[] args)
        {
            InputCacher.AddCache("10 6 ");
            InputCacher.AddCache("XXXXXXXXXX");
            InputCacher.AddCache("X....X...X");
            InputCacher.AddCache("X....X...X");
            InputCacher.AddCache("X.X..X.X.X");
            InputCacher.AddCache("X.X..>.X.X");
            InputCacher.AddCache("XXXXXXXXXX");
            InputCacher.Disable();

            Bludiste bludiste = new Bludiste(CodexReader.getInt(), CodexReader.getInt());

            List<int> buffer = new List<int>();

            while (buffer.Count() < bludiste.VelikostMapy())
            {
                int c = InputCacher.Read();
                if (".X^>v<".Contains((char)c))
                    buffer.Add(c);
            }
            bludiste.NactiMapu(buffer.ToArray());

            for (int i = 1; i <= 20; i++)
            {
                bludiste.PohniObjekty();
                bludiste.VypisMapu();

            }
        }