|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objectcz.cuni.amis.pogamut.base.agent.params.impl.AgentParameters
cz.cuni.amis.pogamut.base.agent.params.impl.RemoteAgentParameters
cz.cuni.amis.pogamut.ut2004.agent.params.UT2004AgentParameters
cz.cuni.amis.pogamut.ut2004.bot.params.UT2004BotParameters
cz.cuni.amis.pogamut.ut2004.examples.botwithparams.CustomBotParameters
public class CustomBotParameters
This class defines additional parameters you want your bot to have. Params such "custom name", "custom skin", "aggressiveness", "weapon preferences", "bot skill level", "team", etc. that you might need to customize for your bot.
There are three things you should do when defining params.
| Constructor Summary | |
|---|---|
CustomBotParameters()
|
|
| Method Summary | |
|---|---|
String |
getBotSkin()
This returns the skin of the bot to be used. |
String |
getName()
This returns the name of the bot to be used. |
int |
getSkillLevel()
This returns the desired skill level of the bot to be used. |
boolean |
isJumping()
Whether the bot should be jumping. |
boolean |
isRotating()
Whether the bot should be rotating. |
CustomBotParameters |
setBotSkin(String botSkin)
Sets the skin to be used for the bot. |
CustomBotParameters |
setJumping(boolean jumping)
Sets 'jumping behavior'. |
CustomBotParameters |
setName(String name)
Sets the name for the bot. |
CustomBotParameters |
setRotating(boolean rotating)
Sets 'rotating behavior'. |
CustomBotParameters |
setSkillLevel(int skillLevel)
Sets desired skill level of the bot. |
| Methods inherited from class cz.cuni.amis.pogamut.ut2004.bot.params.UT2004BotParameters |
|---|
assignDefaults, getInitialLocation, getInitialRotation, getTeam, setAgentId, setInitialLocation, setInitialRotation, setTeam, setWorldAddress |
| Methods inherited from class cz.cuni.amis.pogamut.base.agent.params.impl.RemoteAgentParameters |
|---|
getWorldAddress |
| Methods inherited from class cz.cuni.amis.pogamut.base.agent.params.impl.AgentParameters |
|---|
getAgentId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface cz.cuni.amis.pogamut.base.agent.params.IAgentParameters |
|---|
getAgentId |
| Constructor Detail |
|---|
public CustomBotParameters()
| Method Detail |
|---|
public String getBotSkin()
public CustomBotParameters setBotSkin(String botSkin)
BotWithParams.main(String[]).
botSkin -
public String getName()
public CustomBotParameters setName(String name)
BotWithParams.main(String[]).
name -
public int getSkillLevel()
public CustomBotParameters setSkillLevel(int skillLevel)
BotWithParams.main(String[]).
skillLevel -
public boolean isJumping()
public CustomBotParameters setJumping(boolean jumping)
BotWithParams.main(String[]).
jumping - public boolean isRotating()
public CustomBotParameters setRotating(boolean rotating)
BotWithParams.main(String[]).
rotating -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||