cz.cuni.amis.pogamut.ut2004.bot.params
Class UT2004BotParameters
java.lang.Object
cz.cuni.amis.pogamut.base.agent.params.impl.AgentParameters
cz.cuni.amis.pogamut.base.agent.params.impl.RemoteAgentParameters
cz.cuni.amis.pogamut.ut2004.agent.params.UT2004AgentParameters
cz.cuni.amis.pogamut.ut2004.bot.params.UT2004BotParameters
- All Implemented Interfaces:
- IAgentParameters, IRemoteAgentParameters
public class UT2004BotParameters
- extends UT2004AgentParameters
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UT2004BotParameters
public UT2004BotParameters()
- If you need to populate the parameters after instantiation, use setters available in this
class:
setAgentId(IAgentId)
, setWorldAddress(IWorldConnectionAddress)
, UT2004BotParameters#setTeam(int)
.
setAgentId
public UT2004BotParameters setAgentId(IAgentId agentId)
- Overrides:
setAgentId
in class UT2004AgentParameters
setWorldAddress
public UT2004BotParameters setWorldAddress(IWorldConnectionAddress address)
- Overrides:
setWorldAddress
in class UT2004AgentParameters
getTeam
public Integer getTeam()
- Preferred team. If illegal or no team provided, one will be
provided for you. Normally a team game has team 0 and team 1.
In BotDeathMatch, team is meaningless.
- Returns:
setTeam
public UT2004BotParameters setTeam(Integer team)
- Preferred team. If illegal or no team provided, one will be
provided for you. Normally a team game has team 0 and team 1.
In BotDeathMatch, team is meaningless.
- Parameters:
team
-
- Returns:
setInitialLocation
public UT2004BotParameters setInitialLocation(Location location)
getInitialLocation
public Location getInitialLocation()
setInitialRotation
public UT2004BotParameters setInitialRotation(Rotation rotation)
getInitialRotation
public Rotation getInitialRotation()
assignDefaults
public void assignDefaults(IAgentParameters defaults)
- Specified by:
assignDefaults
in interface IAgentParameters
- Overrides:
assignDefaults
in class RemoteAgentParameters
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.