public class MovementStep extends java.lang.Object implements ITutorialStep
Modifier and Type | Field and Description |
---|---|
private static ITextComponent |
LOOK_DESCRIPTION |
private static ITextComponent |
LOOK_TITLE |
private int |
lookCompleted |
private TutorialToast |
lookToast |
private static ITextComponent |
MOVE_DESCRIPTION |
private static ITextComponent |
MOVE_TITLE |
private int |
moveCompleted |
private boolean |
moved |
private TutorialToast |
moveToast |
private int |
timeLooked |
private int |
timeMoved |
private int |
timeWaiting |
private boolean |
turned |
private Tutorial |
tutorial |
Constructor and Description |
---|
MovementStep(Tutorial tutorial) |
Modifier and Type | Method and Description |
---|---|
void |
handleMovement(MovementInput input) |
void |
onMouseMove(double velocityX,
double velocityY) |
void |
onStop() |
void |
tick() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleSetSlot, onHitBlock, onMouseHover, openInventory
private static final ITextComponent MOVE_TITLE
private static final ITextComponent MOVE_DESCRIPTION
private static final ITextComponent LOOK_TITLE
private static final ITextComponent LOOK_DESCRIPTION
private final Tutorial tutorial
private TutorialToast moveToast
private TutorialToast lookToast
private int timeWaiting
private int timeMoved
private int timeLooked
private boolean moved
private boolean turned
private int moveCompleted
private int lookCompleted
public MovementStep(Tutorial tutorial)
public void tick()
tick
in interface ITutorialStep
public void onStop()
onStop
in interface ITutorialStep
public void handleMovement(MovementInput input)
handleMovement
in interface ITutorialStep
public void onMouseMove(double velocityX, double velocityY)
onMouseMove
in interface ITutorialStep