Пример #1
0
        public void nastavTypHada(MenuItem pevneSteny)
        {
            if (pevneSteny.IsChecked)
            {
                had = new HadNepriechodny();
            }
            else
            {
                had = new HadPriechodny();
            }

            logJedla.generuj(had, pole, logNasobic.nasobic.getBod, logSpomalovaca.spomalovac.getBod);
        }
Пример #2
0
 public override void vygenerujSuradnice(Had had, List <Bod> plocha, Bod bodInehoPrvku, Bod bodInehoPrvkuTwo)
 {
     base.vygenerujSuradnice(had, plocha, bodInehoPrvku, bodInehoPrvkuTwo);
     bod.Color = farbaJedla;
 }