Package world.mappable.runtime.image

Class Frame

java.lang.Object
    ↳ world.mappable.runtime.image.Frame

class Frame

Summary

Constructors

Signature and Description

Frame(ImageProvider image,
      long duration)

A frame in the animated image.

Methods

Type and modifiers

Method and Description

ImageProvider

getImage()
Returns a provider of the frame image.

long

getDuration()
Returns the number of milliseconds the image is displayed.

Constuctors

Frame

Frame(ImageProvider image,
      long duration)

A frame in the animated image.


Methods

getImage

ImageProvider getImage()

Returns a provider of the frame image.


getDuration

long getDuration()

Returns the number of milliseconds the image is displayed.