private void checkShipToPlanetsCollision(ShipV2 player, ArrayList<Planet>p){
    	for(int i = 0; i < p.size();i++){
    		Planet planet = p.get(i);
    		if(player.getPosition().x >= planet.getPosition().x && 
    		   player.getPosition().x <= (planet.getPosition().x + planet.getWidth()) &&
    		   player.getPosition().y >= planet.getPosition().y &&
    		   player.getPosition().y <= (planet.getPosition().y + planet.getHeight())){
    			collideShipToPlanet(player, planet);
    		}
    	}
    }