|
|||||||||
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 java.lang.Boolean |
Loop
When true the animation will be played in loop. |
protected java.lang.String |
Name
Name of the animation. |
static java.lang.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(java.lang.String Name,
java.lang.Boolean Loop)
Creates new instance of command PlayAnimation. |
Method Summary | |
---|---|
java.lang.String |
getName()
Name of the animation. |
java.lang.Boolean |
isLoop()
When true the animation will be played in loop. |
PlayAnimation |
setLoop(java.lang.Boolean Loop)
When true the animation will be played in loop. |
PlayAnimation |
setName(java.lang.String Name)
Name of the animation. |
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 Name
protected java.lang.Boolean Loop
Constructor Detail |
---|
public PlayAnimation(java.lang.String Name, java.lang.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 java.lang.String getName()
public PlayAnimation setName(java.lang.String Name)
public java.lang.Boolean isLoop()
public PlayAnimation setLoop(java.lang.Boolean Loop)
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 |