I have this code:
I need to test if there is ground under my player, but i can't get it to test for the object "GroundFloor". it just gives me an error.
public boolean onGround()
{
Actor under = getObjectsAtOffset(0,20, GroundFloor.class);
return under != null;
}

