public Stuk(bool kleur, char stuk) { this.kleur = kleur; this.type = GetStukType(stuk); }
public Veld(int x, int y, bool kleur, StukType stukType) { this.x = x; this.y = y; this.stuk = new Stuk(kleur, stukType); }
public Stuk(bool kleur, StukType stuk) { this.kleur = kleur; this.type = stuk; }
public void PlaatsStuk(StukType type, bool kleur, int x, int y) { veld[x, y] = (kleur)?(int)type:-(int)type; }