Class Animation

  • public class Animation
    extends java.lang.Object
    A Animation data wrapper used for applying animations model objects throughout the game.
    • Constructor Detail

      • Animation

        public Animation​(byte[] array,
                         AnimationSkin skin)
        Instantiates a new Animation wrapper.
        array - the byte array of animation data.
        skin - the AnimationSkin object.
    • Method Detail

      • getTransformationX

        public int[] getTransformationX()
      • setTransformationX

        public void setTransformationX​(int[] transformationX)
      • getTransformationZ

        public int[] getTransformationZ()
      • setTransformationZ

        public void setTransformationZ​(int[] transformationZ)
      • getOpcodeTable

        public int[] getOpcodeTable()
      • setOpcodeTable

        public void setOpcodeTable​(int[] opcodeTable)
      • getTransformationY

        public int[] getTransformationY()
      • setTransformationY

        public void setTransformationY​(int[] transformationY)
      • getLength

        public int getLength()
      • setLength

        public void setLength​(int length)
      • isHasAlpha

        public boolean isHasAlpha()
      • setHasAlpha

        public void setHasAlpha​(boolean hasAlpha)