|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.amis.pogamut.base.communication.messages.CommandMessage cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands.Combo
public class Combo
Representation of the GameBots2004 command COMBO. Causes bot to perform desired adrenaline combo (only if it has enough adrenaline usually >= 100). Combo cannot be turned off when triggered. Combo will consume bot adrenaline slowly, when it reaches 0 combo stops. Combo can modify bots abilities or appearance. Combos can be xGame.ComboBerserk (bigger damage), xGame.ComboDefensive (every few seconds adds health), xGame.ComboInvis (bot is invisible and is very hard to spot) or xGame.ComboSpeed (bots speed is increased).
Field Summary | |
---|---|
static java.lang.String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
protected java.lang.String |
Type
Holds the class name of the desired adrenaline combo (can be xGame.ComboBerserk, xGame.ComboDefensive, xGame.ComboInvis or xGame.ComboSpeed). |
Constructor Summary | |
---|---|
Combo()
Creates new instance of command Combo. |
|
Combo(Combo original)
Cloning constructor. |
|
Combo(java.lang.String Type)
Creates new instance of command Combo. |
Method Summary | |
---|---|
java.lang.String |
getType()
Holds the class name of the desired adrenaline combo (can be xGame.ComboBerserk, xGame.ComboDefensive, xGame.ComboInvis or xGame.ComboSpeed). |
Combo |
setType(java.lang.String Type)
Holds the class name of the desired adrenaline combo (can be xGame.ComboBerserk, xGame.ComboDefensive, xGame.ComboInvis or xGame.ComboSpeed). |
java.lang.String |
toHtmlString()
|
java.lang.String |
toMessage()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PROTOTYPE
protected java.lang.String Type
Constructor Detail |
---|
public Combo(java.lang.String Type)
Type
- Holds the class name of the desired adrenaline combo (can be
xGame.ComboBerserk, xGame.ComboDefensive, xGame.ComboInvis
or xGame.ComboSpeed).public Combo()
public Combo(Combo original)
original
- Method Detail |
---|
public java.lang.String getType()
public Combo setType(java.lang.String Type)
public java.lang.String toString()
toString
in class CommandMessage
public java.lang.String toHtmlString()
public java.lang.String toMessage()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |