private boolean isCollide(Entity one, Entity two)
	{
		if(!(one instanceof Boss) && !(two instanceof Boss))
		{
			if (Math.abs(one.getX() - two.getX()) >= 50 || Math.abs(one.getY() - two.getY()) >= 50) return false;
		}
		
		ArrayList<Pair> onePairs = one.getEdges();
		ArrayList<Pair> twoPairs = two.getEdges();

		for (Pair op : onePairs)
		{
			for (Pair tp : twoPairs)
			{
				if (Math.abs(op.getX() - tp.getX()) <= 1 && Math.abs(op.getY() - tp.getY()) <= 1) return true;
			}
		}

		return false;
	}