cz.cuni.amis.pogamut.ut2004.bot.params
Class UT2004BotParameters

Package class diagram package UT2004BotParameters
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.agent.params.impl.AgentParameters
      extended by cz.cuni.amis.pogamut.base.agent.params.impl.RemoteAgentParameters
          extended by cz.cuni.amis.pogamut.ut2004.agent.params.UT2004AgentParameters
              extended by cz.cuni.amis.pogamut.ut2004.bot.params.UT2004BotParameters
All Implemented Interfaces:
IAgentParameters, IRemoteAgentParameters

public class UT2004BotParameters
extends UT2004AgentParameters


Constructor Summary
UT2004BotParameters()
          If you need to populate the parameters after instantiation, use setters available in this class: setAgentId(IAgentId), setWorldAddress(IWorldConnectionAddress), UT2004BotParameters#setTeam(int).
 
Method Summary
 void assignDefaults(IAgentParameters defaults)
           
 Location getInitialLocation()
           
 Rotation getInitialRotation()
           
 Integer getTeam()
          Preferred team.
 UT2004BotParameters setAgentId(IAgentId agentId)
           
 UT2004BotParameters setInitialLocation(Location location)
           
 UT2004BotParameters setInitialRotation(Rotation rotation)
           
 UT2004BotParameters setTeam(Integer team)
          Preferred team.
 UT2004BotParameters setWorldAddress(IWorldConnectionAddress address)
           
 
Methods inherited from class cz.cuni.amis.pogamut.base.agent.params.impl.RemoteAgentParameters
getWorldAddress
 
Methods inherited from class cz.cuni.amis.pogamut.base.agent.params.impl.AgentParameters
getAgentId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface cz.cuni.amis.pogamut.base.agent.params.IAgentParameters
getAgentId
 

Constructor Detail

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).

Method Detail

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.