roboplayer.core.memory
Class Params
java.lang.Object
|
+--roboplayer.core.memory.Params
- All Implemented Interfaces:
- ParamsListener
- public class Params
- extends java.lang.Object
- implements ParamsListener
This class contains all parameters passed from server.
- Author:
- Klangner
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PITCH_LENGTH
public final double PITCH_LENGTH
- See Also:
- Constant Field Values
PITCH_WIDTH
public final double PITCH_WIDTH
- See Also:
- Constant Field Values
PENALTY_AREA_LENGTH
public final double PENALTY_AREA_LENGTH
- See Also:
- Constant Field Values
PENALTY_AREA_WIDTH
public final double PENALTY_AREA_WIDTH
- See Also:
- Constant Field Values
Params
public Params()
getTeamName
public java.lang.String getTeamName()
getSide
public char getSide()
getUniformNumber
public int getUniformNumber()
getDashPowerRate
public double getDashPowerRate()
getGoalWidth
public double getGoalWidth()
getPlayerSize
public double getPlayerSize()
getEffortDecThr
public double getEffortDecThr()
getRecoverDecThr
public double getRecoverDecThr()
getStaminaMax
public double getStaminaMax()
getCatchableAreaL
public double getCatchableAreaL()
getCatchableAreaW
public double getCatchableAreaW()
getBallDecay
public double getBallDecay()
getFieldArea
public Rectangle getFieldArea()
getMaxPower
public double getMaxPower()
getMinPower
public double getMinPower()
onInit
public void onInit(java.lang.String teamName,
char side,
int number)
- Init params
- Specified by:
onInit
in interface ParamsListener
onParams
public void onParams(java.lang.String info)
- Parse parameters
- Specified by:
onParams
in interface ParamsListener