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

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

public class UT2004NativeBotConfig
extends Object
implements IUT2004BotConfig

Describes configuratioin of UT2004 native bot.

Author:
Jimmy

Constructor Summary
UT2004NativeBotConfig()
           
UT2004NativeBotConfig(UT2004NativeBotConfig value)
          Copy-constructor.
 
Method Summary
 String getBotClass()
           
 cz.cuni.amis.utils.token.IToken getBotId()
          Returns ID of this bot configuration.
 int getSkillLevel()
          Skill level of the native bot.
 int getTeamNumber()
          Returns team of the bot.
 void setBotClass(String botClass)
          not used right now
 UT2004NativeBotConfig setBotId(cz.cuni.amis.utils.token.IToken botId)
          Sets ID of this bot configuration.
 UT2004NativeBotConfig setBotId(String botId)
          Sets ID of this bot configuration.
 UT2004NativeBotConfig setSkillLevel(int skillLevel)
          Sets desired skill level that the bot should have.
 UT2004NativeBotConfig setTeamNumber(int teamNumber)
          Sets team number of the team the bot should join.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UT2004NativeBotConfig

public UT2004NativeBotConfig()

UT2004NativeBotConfig

public UT2004NativeBotConfig(UT2004NativeBotConfig value)
Copy-constructor.

Parameters:
value -
Method Detail

getBotId

public cz.cuni.amis.utils.token.IToken getBotId()
Description copied from interface: IUT2004BotConfig
Returns ID of this bot configuration. This ID will be used for storing result of the tournament for this bot.

DOES NOT MEAN THAT THE EXECUTED BOT WILL HAVE THIS ID IN UT2004!

Specified by:
getBotId in interface IUT2004BotConfig
Returns:

setBotId

public UT2004NativeBotConfig setBotId(cz.cuni.amis.utils.token.IToken botId)
Sets ID of this bot configuration. This ID will be used for storing result of the tournament for this bot.

DOES NOT MEAN THAT THE EXECUTED BOT WILL HAVE THIS ID IN UT2004!

Parameters:
botId -

setBotId

public UT2004NativeBotConfig setBotId(String botId)
Sets ID of this bot configuration. This ID will be used for storing result of the tournament for this bot.

DOES NOT MEAN THAT THE EXECUTED BOT WILL HAVE THIS ID IN UT2004!

Parameters:
botId -

getTeamNumber

public int getTeamNumber()
Description copied from interface: IUT2004BotConfig
Returns team of the bot.

Specified by:
getTeamNumber in interface IUT2004BotConfig
Returns:

setTeamNumber

public UT2004NativeBotConfig setTeamNumber(int teamNumber)
Sets team number of the team the bot should join.

Parameters:
teamNumber -
Returns:

getSkillLevel

public int getSkillLevel()
Skill level of the native bot.

Returns:

setSkillLevel

public UT2004NativeBotConfig setSkillLevel(int skillLevel)
Sets desired skill level that the bot should have. From 1 to 7 (best). Default: 4.

Parameters:
skillLevel -
Returns:

getBotClass

public String getBotClass()

setBotClass

public void setBotClass(String botClass)
not used right now



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