public Boolean checkCollision(Player player, FallingObjects fallingObjects){
        Rectangle rPlayer = player.getBounds();
        
         ArrayList localFallingObjects = fallingObjects.GetFallingObjects();
        for (int i=0; i < localFallingObjects.size();i++)
        {
            RainDrop rainDrop = (RainDrop) localFallingObjects.get(i);
            Rectangle rRainDrop = rainDrop.getBounds();
            
            if(rPlayer.intersects(rRainDrop)){
                return true;
            }
        }
        return false;
    }