示例#1
0
文件: Figura.cs 项目: filipsql/Chess
 public Figura(Figura a)
 {
     this.Vrsta        = a.Vrsta;
     this.Slika        = a.Slika;
     this.boja         = a.boja;
     this.dalijepomren = false;
 }
示例#2
0
文件: Polja.cs 项目: filipsql/Chess
 public Polja(Figura a)
     : this()
 {
     figura  = new Figura(a);
     zauzeto = true;
 }
示例#3
0
文件: Form2.cs 项目: filipsql/Chess
 private void lovac_Click(object sender, EventArgs e)
 {
     fig = new Lovac(boja);
     Close();
     // return lv;
 }
示例#4
0
文件: Polja.cs 项目: filipsql/Chess
 public Polja()
 {
     figura  = new Figura();
     zauzeto = false;
 }
示例#5
0
文件: Form2.cs 项目: filipsql/Chess
 private void konj_Click(object sender, EventArgs e)
 {
     //   return ko;
     fig = new Konj(boja);
     Close();
 }
示例#6
0
文件: Form2.cs 项目: filipsql/Chess
 private void top_Click(object sender, EventArgs e)
 {
     fig = new top(boja);
     Close();
 }
示例#7
0
文件: Form2.cs 项目: filipsql/Chess
 private void kraljica_Click(object sender, EventArgs e)
 {
     fig = new Kraljica(boja);
     Close();
 }
示例#8
0
文件: Form2.cs 项目: filipsql/Chess
 public Form2()
 {
     InitializeComponent();
     fig = new Figura();
 }
示例#9
0
 public void postaviFiguru(Figura a, int b)
 {
     poljas[b].figura = a;
 }