cz.cuni.amis.pogamut.ut2004.tournament.match
Class UT2004BotConfig

Package class diagram package UT2004BotConfig
java.lang.Object
  extended by cz.cuni.amis.pogamut.ut2004.agent.execution.UT2004BotExecutionConfig
      extended by cz.cuni.amis.pogamut.ut2004.tournament.match.UT2004BotConfig
All Implemented Interfaces:
IUT2004BotConfig

public class UT2004BotConfig
extends cz.cuni.amis.pogamut.ut2004.agent.execution.UT2004BotExecutionConfig
implements IUT2004BotConfig

Describes configuration of the custom-bot created using Pogamut platform.

Author:
Jimmy

Constructor Summary
UT2004BotConfig()
           
UT2004BotConfig(UT2004BotConfig value)
          Copy-constructor.
 
Method Summary
 UT2004BotConfig setBotName(String name)
          Name to give the bot within the game.
 UT2004BotConfig setBotSkill(Integer desiredSkill)
          Sets desired skill level for the bot (0 ...
 UT2004BotConfig setBotSkin(String skin)
          Set desired (custom) bot skin.
 UT2004BotConfig setBotTeam(Integer teamNumber)
          Sets team number the bot should play for.
 UT2004BotConfig setPathToBotJar(String pathToBotJar)
           
 UT2004BotConfig setRedirectStdErr(boolean redirectStdErr)
           
 UT2004BotConfig setRedirectStdOut(boolean redirectStdOut)
           
 String toString()
           
 
Methods inherited from class cz.cuni.amis.pogamut.ut2004.agent.execution.UT2004BotExecutionConfig
getBotId, getBotName, getBotSkill, getBotSkin, getBotTeam, getJarFile, getParameters, getPathToBotJar, isBotJarExist, isRedirectStdErr, isRedirectStdOut, removeParameter, setBotId, setBotId, setParameter, setParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface cz.cuni.amis.pogamut.ut2004.tournament.match.IUT2004BotConfig
getBotId, getBotSkill, getBotSkin, getBotTeam
 

Constructor Detail

UT2004BotConfig

public UT2004BotConfig()

UT2004BotConfig

public UT2004BotConfig(UT2004BotConfig value)
Copy-constructor.

Parameters:
value -
Method Detail

setBotName

public UT2004BotConfig setBotName(String name)
Name to give the bot within the game.

Overrides:
setBotName in class cz.cuni.amis.pogamut.ut2004.agent.execution.UT2004BotExecutionConfig
Parameters:
name -
Returns:

setBotTeam

public UT2004BotConfig setBotTeam(Integer teamNumber)
Sets team number the bot should play for.

Overrides:
setBotTeam in class cz.cuni.amis.pogamut.ut2004.agent.execution.UT2004BotExecutionConfig
Parameters:
teamNumber -

setBotSkill

public UT2004BotConfig setBotSkill(Integer desiredSkill)
Sets desired skill level for the bot (0 ... NOOB - 7 ... GODLIKE), if negative, default will be used.

Overrides:
setBotSkill in class cz.cuni.amis.pogamut.ut2004.agent.execution.UT2004BotExecutionConfig
Parameters:
desiredSkill -
Returns:

setBotSkin

public UT2004BotConfig setBotSkin(String skin)
Set desired (custom) bot skin.

Overrides:
setBotSkin in class cz.cuni.amis.pogamut.ut2004.agent.execution.UT2004BotExecutionConfig
Parameters:
skin -
Returns:

setPathToBotJar

public UT2004BotConfig setPathToBotJar(String pathToBotJar)
Overrides:
setPathToBotJar in class cz.cuni.amis.pogamut.ut2004.agent.execution.UT2004BotExecutionConfig

setRedirectStdErr

public UT2004BotConfig setRedirectStdErr(boolean redirectStdErr)
Overrides:
setRedirectStdErr in class cz.cuni.amis.pogamut.ut2004.agent.execution.UT2004BotExecutionConfig

setRedirectStdOut

public UT2004BotConfig setRedirectStdOut(boolean redirectStdOut)
Overrides:
setRedirectStdOut in class cz.cuni.amis.pogamut.ut2004.agent.execution.UT2004BotExecutionConfig

toString

public String toString()
Overrides:
toString in class cz.cuni.amis.pogamut.ut2004.agent.execution.UT2004BotExecutionConfig


Copyright © 2016 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.