Package com.soulfiremc.server.bot
Class ControlState
java.lang.Object
com.soulfiremc.server.bot.ControlState
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
down()
@NotNull ControlState
down
(boolean down) boolean
jump()
@NotNull ControlState
jump
(boolean jump) boolean
left()
@NotNull ControlState
left
(boolean left) void
resetAll()
void
boolean
right()
@NotNull ControlState
right
(boolean right) boolean
shift()
@NotNull ControlState
shift
(boolean shift) boolean
sprint()
@NotNull ControlState
sprint
(boolean sprint) @NotNull String
toString()
boolean
up()
@NotNull ControlState
up
(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
-