How can I check if there is a certain object in a certain location ?
I've tried with getObjectsAt, but that method returns a string of objects.
P.S. I know the X and Y coordinates.
if (getObjectsAt(x, y, class).contains(actor))
if (actor.getX() == x && actor.getY() == y)