|
||||||||||
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.PlayAnimation
public class PlayAnimation
Representation of the GameBots2004 command ACT. Will trigger some of the native animations.
Field Summary | |
---|---|
protected Boolean |
Loop
When true the animation will be played in loop. |
protected String |
Name
Name of the animation. |
static String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
Constructor Summary | |
---|---|
PlayAnimation()
Creates new instance of command PlayAnimation. |
|
PlayAnimation(PlayAnimation original)
Cloning constructor. |
|
PlayAnimation(String Name,
Boolean Loop)
Creates new instance of command PlayAnimation. |
Method Summary | |
---|---|
String |
getName()
Name of the animation. |
Boolean |
isLoop()
When true the animation will be played in loop. |
PlayAnimation |
setLoop(Boolean Loop)
When true the animation will be played in loop. |
PlayAnimation |
setName(String Name)
Name of the animation. |
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 Name
protected Boolean Loop
Constructor Detail |
---|
public PlayAnimation(String Name, Boolean Loop)
Name
- Name of the animation. Possible animations: gesture_beckon, gesture_cheer, gesture_halt, gesture_point, Gesture_Taunt01, PThrust, AssSmack, ThroatCut, Specific_1, Gesture_Taunt02, Idle_Character02, Idle_Character03, Gesture_Taunt03.Loop
- When true the animation will be played in loop. Supported un GameBotsUE2.public PlayAnimation()
public PlayAnimation(PlayAnimation original)
original
- Method Detail |
---|
public String getName()
public PlayAnimation setName(String Name)
public Boolean isLoop()
public PlayAnimation setLoop(Boolean Loop)
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 |