public void zetPion(Pion pion, int zoekNummer) { Link vakje = zoekOpVakGetal(zoekNummer); vakje.IData.Pion = pion; }
public Boolean pionVerzettenFinish(Pion pion) { Link current = First; for (int i = 1; i <= 4; i++) { if (current.IData.isBezet()) { current = current.Next; } else { current.IData.Pion = pion; return true; } } return false; }