public void ExitHarbor(int k)    
    {  
        if (isTouching(ColissionDock.class)){
            if (spawnCounter > k) {  
                spawnCounter = 0;
                GoToExit();
                leeg = true;
                setImage(id);
                slow = 2;
            }
            spawnCounter++;
        }

    }