public void act() {
        //Check voor victims binnen bereik. Voeg punten toe en verwijder victim wanneer gevonden.
        List<Actor> victims = getObjectsInRange(radius, Victim.class);
        for (Actor victim : victims) {
            HelicopterWorld world = (HelicopterWorld)getWorld();
            world.addScore(50);
            int x = getX();
            int y = getY();
            world.removeObject(victim);  
        }
        
        //Check of reddingswerker verdrinkt.
        int waterOffset = 70 - ((HelicopterWorld)getWorld()).getWaterLevel() / 2 / 10;
        if (waterOffset <= getY()) {
            resetRopeman();
            ropemanDead = true;
        }
        
        //Check collision
        if (!ropemanDead) {
            Actor houselinks = getOneObjectAtOffset(1, 0, House.class);
            Actor houserechts = getOneObjectAtOffset(-2, 0, House.class);
            Actor houseboven = getOneObjectAtOffset(0, 3, House.class);
            if (houselinks != null && Greenfoot.isKeyDown("d")) {
                resetRopeman();
                ropemanDead = true;
            }
            else if (houserechts != null && Greenfoot.isKeyDown("a")) {
                resetRopeman();
                ropemanDead = true;
            }
            else if (houseboven != null && Greenfoot.isKeyDown("s")) {
                resetRopeman();
                ropemanDead = true;
            } 
        }
    }