I'm trying to find out if all three buttons are pressed, using three booleans, button1, button2 and button3. I don't know how to bring them all into the same code, though.
I get that this is probably pretty basic stuff for some of you
anyway please help
public void checkPressed()
{
Actor pressed = getOneObjectAtOffset​(0, 0, Actor.class);
if (pressed != null)
{
button1 = true;
} else
{
button1 = false;
}
}
