Class Animation


  • public class Animation
    extends java.lang.Object
    Dataholder for Animations
    • Field Detail

      • name

        protected java.lang.String name
      • channel

        protected java.lang.String channel
      • loop

        protected boolean loop
      • speed

        protected float speed
    • 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