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 intgetLevel()SkillgetSkill()booleanisPendingStop()voidonTransition()just a callback to reset stateStringtoString()
-
-
-
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:
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
-
-