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 long
getMaximum()
long
getMinimum()
boolean
isPendingStop()
void
onTransition()
just a callback to reset stateString
toString()
-
-
-
Method Detail
-
getMinimum
public long getMinimum()
-
getMaximum
public long getMaximum()
-
isPendingStop
public boolean isPendingStop()
- Specified by:
isPendingStop
in interfaceScheduleTransitionCondition
- Returns:
- pending stop or transition to the next script in the list
-
onTransition
public void onTransition()
Description copied from interface:ScheduleTransitionCondition
just a callback to reset state- Specified by:
onTransition
in interfaceScheduleTransitionCondition
-
-