public class Coach
extends java.lang.Object
implements com.github.robocup_atan.atan.model.ControllerCoach
Coach class.
The original coach provided by ATAN.| Constructor and Description |
|---|
Coach() |
| Modifier and Type | Method and Description |
|---|---|
com.github.robocup_atan.atan.model.ActionsCoach |
getCoach() |
void |
infoCPTOther(int unum) |
void |
infoCPTOwn(int unum,
int type) |
void |
infoHearError(com.github.robocup_atan.atan.model.enums.Errors error) |
void |
infoHearOk(com.github.robocup_atan.atan.model.enums.Ok ok) |
void |
infoHearPlayer(double direction,
java.lang.String message) |
void |
infoHearPlayMode(com.github.robocup_atan.atan.model.enums.PlayMode playMode) |
void |
infoHearReferee(com.github.robocup_atan.atan.model.enums.RefereeMessage refereeMessage) |
void |
infoHearTeamNames(java.lang.String teamWest,
java.lang.String teamEast) |
void |
infoHearWarning(com.github.robocup_atan.atan.model.enums.Warning warning) |
void |
infoPlayerParam(double allowMultDefaultType,
double dashPowerRateDeltaMax,
double dashPowerRateDeltaMin,
double effortMaxDeltaFactor,
double effortMinDeltaFactor,
double extraStaminaDeltaMax,
double extraStaminaDeltaMin,
double inertiaMomentDeltaFactor,
double kickRandDeltaFactor,
double kickableMarginDeltaMax,
double kickableMarginDeltaMin,
double newDashPowerRateDeltaMax,
double newDashPowerRateDeltaMin,
double newStaminaIncMaxDeltaFactor,
double playerDecayDeltaMax,
double playerDecayDeltaMin,
double playerTypes,
double ptMax,
double randomSeed,
double staminaIncMaxDeltaFactor,
double subsMax) |
void |
infoPlayerType(int id,
double playerSpeedMax,
double staminaIncMax,
double playerDecay,
double inertiaMoment,
double dashPowerRate,
double playerSize,
double kickableMargin,
double kickRand,
double extraStamina,
double effortMax,
double effortMin) |
void |
infoSeeBall(double x,
double y,
double deltaX,
double deltaY) |
void |
infoSeeGoalOther(double x,
double y) |
void |
infoSeeGoalOwn(double x,
double y) |
void |
infoSeePlayerOther(int number,
boolean goalie,
double x,
double y,
double deltaX,
double deltaY,
double bodyAngle,
double neckAngle) |
void |
infoSeePlayerOwn(int number,
boolean goalie,
double x,
double y,
double deltaX,
double deltaY,
double bodyAngle,
double neckAngle) |
void |
infoServerParam(java.util.HashMap<com.github.robocup_atan.atan.model.enums.ServerParams,java.lang.Object> info) |
void |
setCoach(com.github.robocup_atan.atan.model.ActionsCoach c) |
public void infoHearError(com.github.robocup_atan.atan.model.enums.Errors error)
infoHearError in interface com.github.robocup_atan.atan.model.ControllerCoachpublic void infoHearOk(com.github.robocup_atan.atan.model.enums.Ok ok)
infoHearOk in interface com.github.robocup_atan.atan.model.ControllerCoachpublic void infoHearPlayMode(com.github.robocup_atan.atan.model.enums.PlayMode playMode)
infoHearPlayMode in interface com.github.robocup_atan.atan.model.ControllerCoachpublic void infoHearPlayer(double direction,
java.lang.String message)
infoHearPlayer in interface com.github.robocup_atan.atan.model.ControllerCoachpublic void infoHearReferee(com.github.robocup_atan.atan.model.enums.RefereeMessage refereeMessage)
infoHearReferee in interface com.github.robocup_atan.atan.model.ControllerCoachpublic void infoHearWarning(com.github.robocup_atan.atan.model.enums.Warning warning)
infoHearWarning in interface com.github.robocup_atan.atan.model.ControllerCoachpublic void infoPlayerType(int id,
double playerSpeedMax,
double staminaIncMax,
double playerDecay,
double inertiaMoment,
double dashPowerRate,
double playerSize,
double kickableMargin,
double kickRand,
double extraStamina,
double effortMax,
double effortMin)
infoPlayerType in interface com.github.robocup_atan.atan.model.ControllerCoachpublic void infoPlayerParam(double allowMultDefaultType,
double dashPowerRateDeltaMax,
double dashPowerRateDeltaMin,
double effortMaxDeltaFactor,
double effortMinDeltaFactor,
double extraStaminaDeltaMax,
double extraStaminaDeltaMin,
double inertiaMomentDeltaFactor,
double kickRandDeltaFactor,
double kickableMarginDeltaMax,
double kickableMarginDeltaMin,
double newDashPowerRateDeltaMax,
double newDashPowerRateDeltaMin,
double newStaminaIncMaxDeltaFactor,
double playerDecayDeltaMax,
double playerDecayDeltaMin,
double playerTypes,
double ptMax,
double randomSeed,
double staminaIncMaxDeltaFactor,
double subsMax)
infoPlayerParam in interface com.github.robocup_atan.atan.model.ControllerCoachpublic void infoCPTOther(int unum)
infoCPTOther in interface com.github.robocup_atan.atan.model.ControllerCoachpublic void infoCPTOwn(int unum,
int type)
infoCPTOwn in interface com.github.robocup_atan.atan.model.ControllerCoachpublic void infoServerParam(java.util.HashMap<com.github.robocup_atan.atan.model.enums.ServerParams,java.lang.Object> info)
infoServerParam in interface com.github.robocup_atan.atan.model.ControllerCoachpublic void infoSeeBall(double x,
double y,
double deltaX,
double deltaY)
infoSeeBall in interface com.github.robocup_atan.atan.model.ControllerCoachpublic void infoSeePlayerOther(int number,
boolean goalie,
double x,
double y,
double deltaX,
double deltaY,
double bodyAngle,
double neckAngle)
infoSeePlayerOther in interface com.github.robocup_atan.atan.model.ControllerCoachpublic void infoSeePlayerOwn(int number,
boolean goalie,
double x,
double y,
double deltaX,
double deltaY,
double bodyAngle,
double neckAngle)
infoSeePlayerOwn in interface com.github.robocup_atan.atan.model.ControllerCoachpublic void setCoach(com.github.robocup_atan.atan.model.ActionsCoach c)
setCoach in interface com.github.robocup_atan.atan.model.ControllerCoachpublic com.github.robocup_atan.atan.model.ActionsCoach getCoach()
getCoach in interface com.github.robocup_atan.atan.model.ControllerCoachpublic void infoSeeGoalOther(double x,
double y)
infoSeeGoalOther in interface com.github.robocup_atan.atan.model.ControllerCoachpublic void infoSeeGoalOwn(double x,
double y)
infoSeeGoalOwn in interface com.github.robocup_atan.atan.model.ControllerCoachpublic void infoHearTeamNames(java.lang.String teamWest,
java.lang.String teamEast)
infoHearTeamNames in interface com.github.robocup_atan.atan.model.ControllerCoach