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); }
public override void vygenerujSuradnice(Had had, List <Bod> plocha, Bod bodInehoPrvku, Bod bodInehoPrvkuTwo) { base.vygenerujSuradnice(had, plocha, bodInehoPrvku, bodInehoPrvkuTwo); bod.Color = farbaJedla; }