atavism.server.util
Class AnimationCommand
java.lang.Object
atavism.server.util.AnimationCommand
- All Implemented Interfaces:
- java.io.Serializable
public class AnimationCommand
- extends java.lang.Object
- implements java.io.Serializable
can be 'add' or 'clear' add command takes in the animation name and looping
flag clear command takes no options
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ADD_CMD
public static final java.lang.String ADD_CMD
- See Also:
- Constant Field Values
CLEAR_CMD
public static final java.lang.String CLEAR_CMD
- See Also:
- Constant Field Values
AnimationCommand
public AnimationCommand()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getCommand
public java.lang.String getCommand()
setCommand
public void setCommand(java.lang.String command)
getAnimName
public java.lang.String getAnimName()
setAnimName
public void setAnimName(java.lang.String animName)
isLoop
public boolean isLoop()
isLoop
public void isLoop(boolean flag)
clear
public static AnimationCommand clear()
add
public static AnimationCommand add(java.lang.String animName,
boolean isLoop)