|
||||||||||
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 String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
protected String |
Skin
Holds the desired skin. |
protected String |
URClothes
A number representing clothes. |
protected String |
URHair
A number representing hair. |
protected String |
URSkin
A number representing skin. |
Constructor Summary | |
---|---|
SetSkin()
Creates new instance of command SetSkin. |
|
SetSkin(SetSkin original)
Cloning constructor. |
|
SetSkin(String Skin,
String URHair,
String URClothes,
String URSkin)
Creates new instance of command SetSkin. |
Method Summary | |
---|---|
String |
getSkin()
Holds the desired skin. |
String |
getURClothes()
A number representing clothes. |
String |
getURHair()
A number representing hair. |
String |
getURSkin()
A number representing skin. |
SetSkin |
setSkin(String Skin)
Holds the desired skin. |
SetSkin |
setURClothes(String URClothes)
A number representing clothes. |
SetSkin |
setURHair(String URHair)
A number representing hair. |
SetSkin |
setURSkin(String URSkin)
A number representing skin. |
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 |
---|
public static final String PROTOTYPE
protected String Skin
protected String URHair
protected String URClothes
protected String URSkin
Constructor Detail |
---|
public SetSkin(String Skin, String URHair, String URClothes, 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 String getSkin()
public SetSkin setSkin(String Skin)
public String getURHair()
public SetSkin setURHair(String URHair)
public String getURClothes()
public SetSkin setURClothes(String URClothes)
public String getURSkin()
public SetSkin setURSkin(String URSkin)
public String toString()
toString
in class CommandMessage
public String toHtmlString()
public String toMessage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |