Hi,
I need a method in my World that returns if a certain pixel is occupied with any object.
So...i tryed:
but that does not seems to work, please help me :)
thank you
public boolean fieldFree(int x, int y) { if(getObjectsAt(x, y, null)==null) { return true; } return false; }