Beispiel #1
0
 public void zetPion(Pion pion, int zoekNummer)
 {
     Link vakje = zoekOpVakGetal(zoekNummer);
     vakje.IData.Pion = pion;
 }
Beispiel #2
0
 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;
 }