public Figura(Figura a) { this.Vrsta = a.Vrsta; this.Slika = a.Slika; this.boja = a.boja; this.dalijepomren = false; }
public Polja(Figura a) : this() { figura = new Figura(a); zauzeto = true; }
private void lovac_Click(object sender, EventArgs e) { fig = new Lovac(boja); Close(); // return lv; }
public Polja() { figura = new Figura(); zauzeto = false; }
private void konj_Click(object sender, EventArgs e) { // return ko; fig = new Konj(boja); Close(); }
private void top_Click(object sender, EventArgs e) { fig = new top(boja); Close(); }
private void kraljica_Click(object sender, EventArgs e) { fig = new Kraljica(boja); Close(); }
public Form2() { InitializeComponent(); fig = new Figura(); }
public void postaviFiguru(Figura a, int b) { poljas[b].figura = a; }