|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotName
public class UT2004BotName
Provides abstraction over the UT2004Bot
name in the game allowing to append "extra infos" to it.
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 |
---|
public UT2004BotName(UT2004Bot bot, String base)
Method Detail |
---|
public void setNameBase(String base)
public void setTag(String tag)
tag
- public void deleteTag()
public void setInfo(String value)
setInfo(String, String)
(null, value), i.e., assigning 'value' to 'NULL KEY'.
value
- public void setInfo(String key, String value)
key
- CAN BE NULLvalue
- CAN BE NULL (null == delete the key)public void deleteInfo(String key)
key
- CAN BE NULLpublic void updateName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |