public class Animation
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
channel |
protected IParsedExpression |
cond |
protected boolean |
loop |
protected java.lang.String |
name |
protected float |
speed |
Constructor and Description |
---|
Animation(java.lang.String name,
java.lang.String channel,
boolean loop,
double speed,
IParsedExpression cond) |
Modifier and Type | Method and Description |
---|---|
IParsedExpression |
getAnimationCondition() |
java.lang.String |
getChannel() |
java.lang.String |
getName() |
float |
getSpeed() |
boolean |
isLoop() |
void |
setAnimationCondition(IParsedExpression animationCondition) |
void |
setChannel(java.lang.String channel) |
void |
setLoop(boolean loop) |
void |
setName(java.lang.String name) |
void |
setSpeed(float speed) |
protected java.lang.String name
protected java.lang.String channel
protected boolean loop
protected float speed
protected IParsedExpression cond
public Animation(java.lang.String name, java.lang.String channel, boolean loop, double speed, IParsedExpression cond)
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the name to setpublic java.lang.String getChannel()
public void setChannel(java.lang.String channel)
channel
- the channel to setpublic boolean isLoop()
public void setLoop(boolean loop)
loop
- the loop to setpublic IParsedExpression getAnimationCondition()
public void setAnimationCondition(IParsedExpression animationCondition)
animationCondition
- the animationCondition to setpublic float getSpeed()
public void setSpeed(float speed)
speed
- the speed to set