I want to know if there is a way to write an if statement with several possible conditions, and only one needs to be true in order to continue.


if( (isLeft)||(isRed) )
public boolean canDown() { Actor stop = getOneIntersectingObject(CornerDR.class); if (stop==null) { stop = getOneIntersectingObject(CornerDL.class); } return stop !=null; }