cz.cuni.amis.pogamut.ut2004.bot.impl
Class UT2004BotName

Package class diagram package UT2004BotName
java.lang.Object
  extended by cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotName

public class UT2004BotName
extends Object

Provides abstraction over the UT2004Bot name in the game allowing to append "extra infos" to it.

Author:
Jimmy

Constructor Summary
UT2004BotName(UT2004Bot bot, String base)
           
 
Method Summary
 void deleteInfo(String key)
           
 void deleteTag()
          Removes 'null' key.
 void setInfo(String value)
          Alias for setInfo(String, String)(null, value), i.e., assigning 'value' to 'NULL KEY'.
 void setInfo(String key, String value)
           
 void setNameBase(String base)
           
 void setTag(String tag)
          Assings 'null' key.
 void updateName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UT2004BotName

public UT2004BotName(UT2004Bot bot,
                     String base)
Method Detail

setNameBase

public void setNameBase(String base)

setTag

public void setTag(String tag)
Assings 'null' key.

Parameters:
tag -

deleteTag

public void deleteTag()
Removes 'null' key.


setInfo

public void setInfo(String value)
Alias for setInfo(String, String)(null, value), i.e., assigning 'value' to 'NULL KEY'.

Parameters:
value -

setInfo

public void setInfo(String key,
                    String value)
Parameters:
key - CAN BE NULL
value - CAN BE NULL (null == delete the key)

deleteInfo

public void deleteInfo(String key)
Parameters:
key - CAN BE NULL

updateName

public void updateName()


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