public Mob getMob(int xa, int ya, Mob mob){	
		for(Mob m : mobs){
			if(m.equals(mob)) continue;
			Rect r1 = new Rect(m.getX() + m.getCollision_w_offset(), m.getY() + m.getCollision_h_offset(), m.getCollision_width(), m.getCollision_height());
			Rect r2 = new Rect(mob.getX() + mob.getCollision_w_offset() + xa, mob.getY() + mob.getCollision_h_offset()+ ya, mob.getCollision_width(), m.getCollision_height());
						
			if((r1.getX() <= r2.getX() + r2.getWidth() && r2.getX() <= r1.getX() + r1.getWidth() && r1.getY() <= r2.getY() + r2.getHeight() && r2.getY() <= r1.getY() + r1.getHeight())) return m;
		}		
		return null;
	}