public class Animation extends Object
Constructor and Description |
---|
Animation(String name,
String channel,
boolean loop,
double speed,
IParsedExpression cond) |
Modifier and Type | Method and Description |
---|---|
IParsedExpression |
getAnimationCondition() |
String |
getChannel() |
String |
getName() |
float |
getSpeed() |
boolean |
isLoop() |
void |
setAnimationCondition(IParsedExpression animationCondition) |
void |
setChannel(String channel) |
void |
setLoop(boolean loop) |
void |
setName(String name) |
void |
setSpeed(float speed) |
public Animation(String name, String channel, boolean loop, double speed, IParsedExpression cond)
public String getName()
public void setName(String name)
name
- the name to setpublic String getChannel()
public void setChannel(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 setCopyright © 2013. All Rights Reserved.