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

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

public class UT2004HumanConfig
extends Object
implements IUT2004HumanConfig

Describes configuration of a human for player UT2004 match.

Author:
Jimmy

Constructor Summary
UT2004HumanConfig()
           
UT2004HumanConfig(UT2004HumanConfig value)
          Copy-constructor.
 
Method Summary
 cz.cuni.amis.utils.token.IToken getHumanId()
          Returns ID of this human configuration.
 int getTeamNumber()
          Returns the team where the human should be in.
 UT2004HumanConfig setHumanId(cz.cuni.amis.utils.token.IToken botId)
          Sets ID of this human configuration.
 UT2004HumanConfig setHumanId(String humanId)
          Sets ID of this bot configuration.
 UT2004HumanConfig 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

UT2004HumanConfig

public UT2004HumanConfig()

UT2004HumanConfig

public UT2004HumanConfig(UT2004HumanConfig value)
Copy-constructor.

Parameters:
value -
Method Detail

getHumanId

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

Specified by:
getHumanId in interface IUT2004HumanConfig
Returns:

setHumanId

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

Parameters:
botId -

setHumanId

public UT2004HumanConfig setHumanId(String humanId)
Sets ID of this bot configuration. This ID will be used for storing result of the tournament for this bot.

Parameters:
humanId -

getTeamNumber

public int getTeamNumber()
Description copied from interface: IUT2004HumanConfig
Returns the team where the human should be in.

Specified by:
getTeamNumber in interface IUT2004HumanConfig
Returns:

setTeamNumber

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

Parameters:
teamNumber -
Returns:


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