Class ControlState
java.lang.Object
com.soulfiremc.server.bot.ControlState
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandown()@NotNull ControlStatedown(boolean down) booleanjump()@NotNull ControlStatejump(boolean jump) booleanleft()@NotNull ControlStateleft(boolean left) voidresetAll()voidbooleanright()@NotNull ControlStateright(boolean right) booleanshift()@NotNull ControlStateshift(boolean shift) booleansprint()@NotNull ControlStatesprint(boolean sprint) @NotNull StringtoString()booleanup()@NotNull ControlStateup(boolean up)
-
Constructor Details
-
ControlState
public ControlState()
-
-
Method Details
-
resetWasd
public void resetWasd() -
resetAll
public void resetAll() -
up
- Returns:
this.
-
down
- Returns:
this.
-
left
- Returns:
this.
-
right
- Returns:
this.
-
jump
- Returns:
this.
-
shift
- Returns:
this.
-
sprint
- Returns:
this.
-
up
public boolean up() -
down
public boolean down() -
left
public boolean left() -
right
public boolean right() -
jump
public boolean jump() -
shift
public boolean shift() -
sprint
public boolean sprint() -
toString
-