|
|||||||||
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.SetSkin
public class SetSkin
Representation of the GameBots2004 command SETSKIN. Sets the bot current skin through Skin attribute (e.g. SETSKIN {Skin "HumanMaleA.MercMaleA"}). Find all packages and skins through unrealEd (Actor browser, search in UT2004/Animations folder). Supported bot skins are Aliens (Aliens.), Bots (Bot.), human males (HumanMaleA.), human females (HumanFemaleA. ), juggernauts (Jugg.). Skaarj skins are not supported at the time being. In UnrealRuntime we use different attributes to set up textures of the bots.
Field Summary | |
---|---|
static java.lang.String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
protected java.lang.String |
Skin
Holds the desired skin. |
protected java.lang.String |
URClothes
A number representing clothes. |
protected java.lang.String |
URHair
A number representing hair. |
protected java.lang.String |
URSkin
A number representing skin. |
Constructor Summary | |
---|---|
SetSkin()
Creates new instance of command SetSkin. |
|
SetSkin(SetSkin original)
Cloning constructor. |
|
SetSkin(java.lang.String Skin,
java.lang.String URHair,
java.lang.String URClothes,
java.lang.String URSkin)
Creates new instance of command SetSkin. |
Method Summary | |
---|---|
java.lang.String |
getSkin()
Holds the desired skin. |
java.lang.String |
getURClothes()
A number representing clothes. |
java.lang.String |
getURHair()
A number representing hair. |
java.lang.String |
getURSkin()
A number representing skin. |
SetSkin |
setSkin(java.lang.String Skin)
Holds the desired skin. |
SetSkin |
setURClothes(java.lang.String URClothes)
A number representing clothes. |
SetSkin |
setURHair(java.lang.String URHair)
A number representing hair. |
SetSkin |
setURSkin(java.lang.String URSkin)
A number representing skin. |
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 Skin
protected java.lang.String URHair
protected java.lang.String URClothes
protected java.lang.String URSkin
Constructor Detail |
---|
public SetSkin(java.lang.String Skin, java.lang.String URHair, java.lang.String URClothes, java.lang.String URSkin)
Skin
- Holds the desired skin.URHair
- A number representing hair. String type is desired here. Parsed only in UnrealRuntime.URClothes
- A number representing clothes. String type is desired here. Parsed only in UnrealRuntime.URSkin
- A number representing skin. String type is desired here. Parsed only in UnrealRuntime.public SetSkin()
public SetSkin(SetSkin original)
original
- Method Detail |
---|
public java.lang.String getSkin()
public SetSkin setSkin(java.lang.String Skin)
public java.lang.String getURHair()
public SetSkin setURHair(java.lang.String URHair)
public java.lang.String getURClothes()
public SetSkin setURClothes(java.lang.String URClothes)
public java.lang.String getURSkin()
public SetSkin setURSkin(java.lang.String URSkin)
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 |