Package-level declarations
Types
Responsible for drawing an Actor.
Any resource which can be used to create an Appearance. At time of writing, this includes : Role, Graphic, Pose, NinePatch.
An animation consisting of a number of still-images. By quickly viewing each of the still-images in sequence an animation appears. The duration of each page is not constant (i.e. on FlipBookPage can be visible longer than others).
A page within a FlipBook. It has an appearance (withAppearance) and a duration in seconds.
FlipBookPage is immutable, so all attributes must be passed to the constructor, which is very awkward. This makes it much more pleasant.
A Resource corresponding to a .png
or .jpeg
file.
A rectangular region of a Graphic (which may be the graphic's entire area) which is divided into 9 patches in a grid pattern.
Draws nothing (invisible).
A Pose or Graphic, both have a pin which determines which point in the image refers to Actor.position.
A small rectangular region of a Graphic that can be used as an Actor's Appearance.
Appearances whose bounds can be defined by two opposite corners of a rectangle, both of which can be moved anywhere.
Implemented by anything that can provide an Appearance.
Functions
Syntactic sugar for creating FlipBookAnimations.
Syntactic sugar for adding a FlipBookPage to a FlipBook.