Class LevelTransitionCondition
- java.lang.Object
-
- org.rspeer.game.script.scheduler.condition.LevelTransitionCondition
-
- All Implemented Interfaces:
ScheduleTransitionCondition
public class LevelTransitionCondition extends Object implements ScheduleTransitionCondition
-
-
Constructor Summary
Constructors Constructor Description LevelTransitionCondition(Skill skill, int level)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLevel()
Skill
getSkill()
boolean
isPendingStop()
void
onTransition()
just a callback to reset stateString
toString()
-
-
-
Constructor Detail
-
LevelTransitionCondition
public LevelTransitionCondition(Skill skill, int level)
-
-
Method Detail
-
getSkill
public Skill getSkill()
-
getLevel
public int getLevel()
-
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
-
-