Пример #1
0
 public Stuk(bool kleur, char stuk)
 {
     this.kleur = kleur;
     this.type  = GetStukType(stuk);
 }
Пример #2
0
 public Veld(int x, int y, bool kleur, StukType stukType)
 {
     this.x    = x;
     this.y    = y;
     this.stuk = new Stuk(kleur, stukType);
 }
Пример #3
0
 public Stuk(bool kleur, StukType stuk)
 {
     this.kleur = kleur;
     this.type  = stuk;
 }
Пример #4
0
 public void PlaatsStuk(StukType type, bool kleur, int x, int y)
 {
     veld[x, y] = (kleur)?(int)type:-(int)type;
 }