public class CustomBotParameters
extends cz.cuni.amis.pogamut.ut2004.bot.params.UT2004BotParameters
There are three things you should do when defining params.
| Constructor and Description |
|---|
CustomBotParameters() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
assignDefaults, getInitialLocation, getInitialRotation, getTeam, setAgentId, setInitialLocation, setInitialRotation, setTeam, setWorldAddressgetWorldAddresspublic 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 - Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.