Class SZAResource

    • Field Detail

      • logger

        private static final java.util.logging.Logger logger
      • DEFAULT_SCALE

        private static final java.lang.Float DEFAULT_SCALE
    • Constructor Detail

      • SZAResource

        public SZAResource​(java.lang.String primaryKey,
                           java.net.URI resourceLocator)
        Do not use directly.
        Parameters:
        primaryKey - The primary key.
        resourceLocator - The URI used when loading this resource.
    • Method Detail

      • preload

        public void preload()
        Preloading the animation.
        Specified by:
        preload in class Resource
      • getSimpleZippedAnimation

        public SimpleZippedAnimation getSimpleZippedAnimation()
        Gets the SimpleZippedAnimation represented by this resource.
        Returns:
        The SimpleZippedAnimation in it's original size.
      • getSimpleZippedAnimation

        public SimpleZippedAnimation getSimpleZippedAnimation​(float scale)
        Get the SimpleZippedAnimation using the specified scale.
        Parameters:
        scale - The scale of the requested animation.
        Returns:
        The SimpleZippedAnimation.