cz.cuni.amis.pogamut.udk.communication.messages.gbcommands
Class SetSkin

Package class diagram package SetSkin
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.communication.messages.CommandMessage
      extended by cz.cuni.amis.pogamut.udk.communication.messages.gbcommands.SetSkin

public class SetSkin
extends CommandMessage

Sets the bot current skin using UTFamilyInfo (e.g. "UTGame.UTFamilyInfo_Liandri_Male"). // TODO: we might want to export all possible skins at the beginning of the game Corresponding GameBots command is SETSKIN.


Field Summary
protected  String Skin
          Holds the desired skin.
 
Constructor Summary
SetSkin()
          Creates new instance of command SetSkin.
SetSkin(SetSkin original)
          Cloning constructor.
SetSkin(String Skin)
          Creates new instance of command SetSkin.
 
Method Summary
 String getSkin()
          Holds the desired skin.
 SetSkin setSkin(String Skin)
          Holds the desired 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

Skin

protected String Skin
Holds the desired skin.

Constructor Detail

SetSkin

public SetSkin(String Skin)
Creates new instance of command SetSkin. Sets the bot current skin using UTFamilyInfo (e.g. "UTGame.UTFamilyInfo_Liandri_Male"). // TODO: we might want to export all possible skins at the beginning of the game Corresponding GameBots message for this command is SETSKIN.

Parameters:
Skin - Holds the desired skin.

SetSkin

public SetSkin()
Creates new instance of command SetSkin. Sets the bot current skin using UTFamilyInfo (e.g. "UTGame.UTFamilyInfo_Liandri_Male"). // TODO: we might want to export all possible skins at the beginning of the game Corresponding GameBots message for this command is SETSKIN.

WARNING: this is empty-command constructor, you have to use setters to fill it up!


SetSkin

public SetSkin(SetSkin original)
Cloning constructor.

Method Detail

getSkin

public String getSkin()
Holds the desired skin.


setSkin

public SetSkin setSkin(String Skin)
Holds the desired skin.


toString

public String toString()
Overrides:
toString in class CommandMessage

toHtmlString

public String toHtmlString()

toMessage

public String toMessage()


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.