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

java.lang.Objectcz.cuni.amis.pogamut.base.communication.messages.CommandMessage
cz.cuni.amis.pogamut.udk.communication.messages.gbcommands.AddBot
public class AddBot
Will add original epic bot to a game. May have issues with team. balancing. Corresponding GameBots command is ADDBOT.
| Field Summary | |
|---|---|
protected String |
Name
Optional name of the bot. |
protected int |
Skill
Skill of the bot - from 1 to 7 (best). |
protected cz.cuni.amis.pogamut.base3d.worldview.object.Location |
StartLocation
Optional start location of the bot. |
protected cz.cuni.amis.pogamut.base3d.worldview.object.Rotation |
StartRotation
Optional start rotation of the bot. |
protected String |
Type
The class of the added bot - optional. |
| Constructor Summary | |
|---|---|
AddBot()
Creates new instance of command AddBot. |
|
AddBot(AddBot original)
Cloning constructor. |
|
AddBot(String Name,
cz.cuni.amis.pogamut.base3d.worldview.object.Location StartLocation,
cz.cuni.amis.pogamut.base3d.worldview.object.Rotation StartRotation,
int Skill,
String Type)
Creates new instance of command AddBot. |
|
| Method Summary | |
|---|---|
String |
getName()
Optional name of the bot. |
int |
getSkill()
Skill of the bot - from 1 to 7 (best). |
cz.cuni.amis.pogamut.base3d.worldview.object.Location |
getStartLocation()
Optional start location of the bot. |
cz.cuni.amis.pogamut.base3d.worldview.object.Rotation |
getStartRotation()
Optional start rotation of the bot. |
String |
getType()
The class of the added bot - optional. |
AddBot |
setName(String Name)
Optional name of the bot. |
AddBot |
setSkill(int Skill)
Skill of the bot - from 1 to 7 (best). |
AddBot |
setStartLocation(cz.cuni.amis.pogamut.base3d.worldview.object.Location StartLocation)
Optional start location of the bot. |
AddBot |
setStartRotation(cz.cuni.amis.pogamut.base3d.worldview.object.Rotation StartRotation)
Optional start rotation of the bot. |
AddBot |
setType(String Type)
The class of the added bot - optional. |
String |
toHtmlString()
|
String |
toMessage()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String Name
protected cz.cuni.amis.pogamut.base3d.worldview.object.Location StartLocation
protected cz.cuni.amis.pogamut.base3d.worldview.object.Rotation StartRotation
protected int Skill
protected String Type
| Constructor Detail |
|---|
public AddBot(String Name,
cz.cuni.amis.pogamut.base3d.worldview.object.Location StartLocation,
cz.cuni.amis.pogamut.base3d.worldview.object.Rotation StartRotation,
int Skill,
String Type)
Name - Optional name of the bot.StartLocation - Optional start location of the bot.StartRotation - Optional start rotation of the bot.Skill - Skill of the bot - from 1 to 7 (best).Type - The class of the added bot - optional.public AddBot()
public AddBot(AddBot original)
| Method Detail |
|---|
public String getName()
public AddBot setName(String Name)
public cz.cuni.amis.pogamut.base3d.worldview.object.Location getStartLocation()
public AddBot setStartLocation(cz.cuni.amis.pogamut.base3d.worldview.object.Location StartLocation)
public cz.cuni.amis.pogamut.base3d.worldview.object.Rotation getStartRotation()
public AddBot setStartRotation(cz.cuni.amis.pogamut.base3d.worldview.object.Rotation StartRotation)
public int getSkill()
public AddBot setSkill(int Skill)
public String getType()
public AddBot setType(String Type)
public String toString()
toString in class cz.cuni.amis.pogamut.base.communication.messages.CommandMessagepublic String toHtmlString()
public String toMessage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||