public class Percept
extends java.lang.Object
Constructor and Description |
---|
Percept(int timestep,
int playerId) |
Modifier and Type | Method and Description |
---|---|
void |
addCPTInfo(CPTInfo i) |
void |
addError(com.github.robocup_atan.atan.model.enums.Errors error) |
void |
addHearPlayerInfo(HearPlayerInfo i) |
void |
addOk(com.github.robocup_atan.atan.model.enums.Ok ok) |
void |
addPlayerParam(PlayerParamInfo i) |
void |
addPlayerTypeInfo(PlayerTypeInfo i) |
void |
addPlayModeMessage(com.github.robocup_atan.atan.model.enums.PlayMode playMode) |
void |
addRefereeMessage(com.github.robocup_atan.atan.model.enums.RefereeMessage refereeMessage) |
void |
addSeenBallInfo(SeeBallInfo b) |
void |
addSeenFlagInfo(SeeFlagInfo flag) |
void |
addSeenLineInfo(SeeLineInfo line) |
void |
addSeenPlayerInfo(SeePlayerInfo p) |
void |
addSenseBodyInfo(SenseBodyInfo i) |
void |
addServerParam(java.util.HashMap<com.github.robocup_atan.atan.model.enums.ServerParams,java.lang.Object> info) |
void |
addWarning(com.github.robocup_atan.atan.model.enums.Warning warning) |
java.util.List<CPTInfo> |
getCptInfo() |
java.util.List<com.github.robocup_atan.atan.model.enums.Errors> |
getErrors() |
java.util.List<HearPlayerInfo> |
getHeardPlayers() |
com.github.robocup_atan.atan.model.enums.PlayMode |
getLastPlayMode() |
com.github.robocup_atan.atan.model.enums.RefereeMessage |
getLastRefereeMessage() |
SeeBallInfo |
getLastSeenBall() |
SenseBodyInfo |
getLastSensedBody() |
java.util.List<com.github.robocup_atan.atan.model.enums.Ok> |
getOks() |
int |
getPlayerId() |
java.util.List<PlayerParamInfo> |
getPlayerParams() |
java.util.List<PlayerTypeInfo> |
getPlayerTypes() |
java.util.List<com.github.robocup_atan.atan.model.enums.PlayMode> |
getPlayModeMessages() |
java.util.List<com.github.robocup_atan.atan.model.enums.RefereeMessage> |
getRefereeMessages() |
java.util.List<SeeBallInfo> |
getSeenBalls() |
java.util.List<SeeFlagInfo> |
getSeenFlags() |
java.util.List<SeeLineInfo> |
getSeenLines() |
java.util.List<SeePlayerInfo> |
getSeenPlayers() |
java.util.List<SenseBodyInfo> |
getSensedBodies() |
java.util.List<java.util.HashMap<com.github.robocup_atan.atan.model.enums.ServerParams,java.lang.Object>> |
getServerParams() |
int |
getTimestep() |
java.util.List<com.github.robocup_atan.atan.model.enums.Warning> |
getWarnings() |
public int getPlayerId()
public int getTimestep()
public void addSeenFlagInfo(SeeFlagInfo flag)
public void addSeenLineInfo(SeeLineInfo line)
public void addSeenPlayerInfo(SeePlayerInfo p)
public void addSeenBallInfo(SeeBallInfo b)
public void addRefereeMessage(com.github.robocup_atan.atan.model.enums.RefereeMessage refereeMessage)
public void addPlayModeMessage(com.github.robocup_atan.atan.model.enums.PlayMode playMode)
public void addHearPlayerInfo(HearPlayerInfo i)
public void addError(com.github.robocup_atan.atan.model.enums.Errors error)
public void addOk(com.github.robocup_atan.atan.model.enums.Ok ok)
public void addWarning(com.github.robocup_atan.atan.model.enums.Warning warning)
public void addSenseBodyInfo(SenseBodyInfo i)
public void addCPTInfo(CPTInfo i)
public void addPlayerTypeInfo(PlayerTypeInfo i)
public void addPlayerParam(PlayerParamInfo i)
public void addServerParam(java.util.HashMap<com.github.robocup_atan.atan.model.enums.ServerParams,java.lang.Object> info)
public java.util.List<SeeFlagInfo> getSeenFlags()
public java.util.List<SeeLineInfo> getSeenLines()
public java.util.List<SeePlayerInfo> getSeenPlayers()
public java.util.List<SeeBallInfo> getSeenBalls()
public SeeBallInfo getLastSeenBall()
public java.util.List<com.github.robocup_atan.atan.model.enums.RefereeMessage> getRefereeMessages()
public com.github.robocup_atan.atan.model.enums.RefereeMessage getLastRefereeMessage()
public java.util.List<com.github.robocup_atan.atan.model.enums.PlayMode> getPlayModeMessages()
public com.github.robocup_atan.atan.model.enums.PlayMode getLastPlayMode()
public java.util.List<HearPlayerInfo> getHeardPlayers()
public java.util.List<com.github.robocup_atan.atan.model.enums.Errors> getErrors()
public java.util.List<com.github.robocup_atan.atan.model.enums.Ok> getOks()
public java.util.List<com.github.robocup_atan.atan.model.enums.Warning> getWarnings()
public java.util.List<SenseBodyInfo> getSensedBodies()
public java.util.List<CPTInfo> getCptInfo()
public java.util.List<PlayerTypeInfo> getPlayerTypes()
public java.util.List<PlayerParamInfo> getPlayerParams()
public java.util.List<java.util.HashMap<com.github.robocup_atan.atan.model.enums.ServerParams,java.lang.Object>> getServerParams()
public SenseBodyInfo getLastSensedBody()