Class Animation
- java.lang.Object
-
- jadex.extension.envsupport.observer.graphics.drawable3d.special.Animation
-
public class Animation extends java.lang.Object
Dataholder for Animations
-
-
Constructor Summary
Constructors Constructor Description Animation(java.lang.String name, java.lang.String channel, boolean loop, double speed, IParsedExpression cond)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Field Detail
-
name
protected java.lang.String name
-
channel
protected java.lang.String channel
-
loop
protected boolean loop
-
speed
protected float speed
-
cond
protected IParsedExpression cond
-
-
Constructor Detail
-
Animation
public Animation(java.lang.String name, java.lang.String channel, boolean loop, double speed, IParsedExpression cond)
-
-
Method Detail
-
getName
public java.lang.String getName()
- Returns:
- the name
-
setName
public void setName(java.lang.String name)
- Parameters:
name
- the name to set
-
getChannel
public java.lang.String getChannel()
- Returns:
- the channel
-
setChannel
public void setChannel(java.lang.String channel)
- Parameters:
channel
- the channel to set
-
isLoop
public boolean isLoop()
- Returns:
- the loop
-
setLoop
public void setLoop(boolean loop)
- Parameters:
loop
- the loop to set
-
getAnimationCondition
public IParsedExpression getAnimationCondition()
- Returns:
- the animationCondition
-
setAnimationCondition
public void setAnimationCondition(IParsedExpression animationCondition)
- Parameters:
animationCondition
- the animationCondition to set
-
getSpeed
public float getSpeed()
- Returns:
- the speed
-
setSpeed
public void setSpeed(float speed)
- Parameters:
speed
- the speed to set
-
-