public interface ActionFrames
DirectionCodes.DIRECTION_COUNT orientations
that are used to render a character sprite.| Modifier and Type | Method and Description |
|---|---|
ActionFrames |
cloneColorized(Colorization[] zations)
Creates a clone of these action frames which will have the supplied colorizations applied
to the frame images.
|
ActionFrames |
cloneTranslated(int dx,
int dy)
Creates a clone of these action frames which will have the supplied translation applied to
the frame images.
|
TrimmedMultiFrameImage |
getFrames(int orient)
Returns the multi-frame image that comprises the frames for the specified orientation.
|
int |
getOrientationCount()
Returns the number of orientations available in this set of action frames.
|
int |
getXOrigin(int orient,
int frameIdx)
Returns the x offset from the upper left of the image to the "origin" for this character
frame.
|
int |
getYOrigin(int orient,
int frameIdx)
Returns the y offset from the upper left of the image to the "origin" for this character
frame.
|
int getOrientationCount()
TrimmedMultiFrameImage getFrames(int orient)
int getXOrigin(int orient,
int frameIdx)
int getYOrigin(int orient,
int frameIdx)
ActionFrames cloneColorized(Colorization[] zations)
ActionFrames cloneTranslated(int dx, int dy)
Copyright © 2015. All rights reserved.