public abstract class Parameters extends UT2004BotParameters implements cz.cuni.amis.pogamut.base.component.IComponent
EnvironmentParameters and BotParameters.
These parameters are instantiated using the init values provided by EIS.| Modifier and Type | Field and Description |
|---|---|
static int |
BOT_SERVER_PORT |
static int |
CONTROL_SERVER_PORT |
static String |
DEFAULT_NAME |
static String |
LOCAL_HOST |
protected Logger |
log |
| Constructor and Description |
|---|
Parameters(cz.cuni.amis.pogamut.base.utils.logging.IAgentLogger log) |
Parameters(Map<String,eis.iilang.Parameter> parameters,
cz.cuni.amis.pogamut.base.utils.logging.IAgentLogger log) |
| Modifier and Type | Method and Description |
|---|---|
void |
assignDefaults(cz.cuni.amis.pogamut.base.agent.params.IAgentParameters defaults) |
Parameters |
setAgentId(cz.cuni.amis.pogamut.base.agent.IAgentId agentId) |
Parameters |
setAgentId(String name) |
protected abstract void |
setKey(Key key,
eis.iilang.Parameter value) |
Parameters |
setWorldAddress(cz.cuni.amis.pogamut.base.communication.connection.IWorldConnectionAddress address) |
Parameters |
setWorldAddress(String host,
Integer port) |
getInitialLocation, getInitialRotation, getTeam, setInitialLocation, setInitialRotation, setTeamgetWorldAddresspublic static final int BOT_SERVER_PORT
public static final int CONTROL_SERVER_PORT
public static final String LOCAL_HOST
public static final String DEFAULT_NAME
protected final Logger log
public Parameters(cz.cuni.amis.pogamut.base.utils.logging.IAgentLogger log)
public Parameters(Map<String,eis.iilang.Parameter> parameters, cz.cuni.amis.pogamut.base.utils.logging.IAgentLogger log) throws UnrealEnvironmentException
UnrealEnvironmentExceptionpublic void assignDefaults(cz.cuni.amis.pogamut.base.agent.params.IAgentParameters defaults)
assignDefaults in interface cz.cuni.amis.pogamut.base.agent.params.IAgentParametersassignDefaults in class UT2004BotParametersprotected abstract void setKey(Key key, eis.iilang.Parameter value) throws nl.tudelft.goal.EIS2Java.exception.TranslationException
nl.tudelft.goal.EIS2Java.exception.TranslationExceptionpublic Parameters setAgentId(cz.cuni.amis.pogamut.base.agent.IAgentId agentId)
setAgentId in class UT2004BotParameterspublic Parameters setAgentId(String name)
public Parameters setWorldAddress(cz.cuni.amis.pogamut.base.communication.connection.IWorldConnectionAddress address)
setWorldAddress in class UT2004BotParameterspublic Parameters setWorldAddress(String host, Integer port)
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.