public DibujarLaberinto(PictureBox pb, int seed = 0) { _pb = pb; Cuadrilla = new Cuadrilla(Horizontales, Verticales); if (seed == 0) { seed = (int)DateTime.Now.Ticks; } Seed = seed; Cuadrilla.Randomize(seed); }
public void Reset() { Cuadrilla.Randomize(Seed); }