public class CommandPlayer
extends java.lang.Object
Constructor and Description |
---|
CommandPlayer(com.github.robocup_atan.atan.model.ActionsPlayer player) |
Modifier and Type | Method and Description |
---|---|
void |
dash(int power) |
java.util.List<Command> |
getAndClearHistory()
Returns a copy of the commands sent to the server since the previous call to this method.
|
com.github.robocup_atan.atan.model.ActionsPlayer |
getPlayer() |
void |
kick(int power,
double angle) |
void |
move(int x,
int y) |
void |
turn(double angle) |
public CommandPlayer(com.github.robocup_atan.atan.model.ActionsPlayer player)
public void dash(int power)
public void turn(double angle)
public void move(int x, int y)
public void kick(int power, double angle)
public java.util.List<Command> getAndClearHistory()
public com.github.robocup_atan.atan.model.ActionsPlayer getPlayer()