Class RuntimeTransitionCondition
- java.lang.Object
-
- org.rspeer.game.script.scheduler.condition.RuntimeTransitionCondition
-
- All Implemented Interfaces:
ScheduleTransitionCondition
public class RuntimeTransitionCondition extends Object implements ScheduleTransitionCondition
-
-
Constructor Summary
Constructors Constructor Description RuntimeTransitionCondition(long minimum, long maximum)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetMaximum()longgetMinimum()booleanisPendingStop()voidonTransition()just a callback to reset stateStringtoString()
-
-
-
Method Detail
-
getMinimum
public long getMinimum()
-
getMaximum
public long getMaximum()
-
isPendingStop
public boolean isPendingStop()
- Specified by:
isPendingStopin interfaceScheduleTransitionCondition- Returns:
- pending stop or transition to the next script in the list
-
onTransition
public void onTransition()
Description copied from interface:ScheduleTransitionConditionjust a callback to reset state- Specified by:
onTransitionin interfaceScheduleTransitionCondition
-
-