| Package | Description |
|---|---|
| org.cell2d |
| Modifier and Type | Method and Description |
|---|---|
SpriteSheet |
Sprite.getSpriteSheet()
Returns the SpriteSheet that this Sprite is part of, or null if it is not
part of one.
|
| Constructor and Description |
|---|
Animation(SpriteSheet spriteSheet,
int x1,
int y1,
int x2,
int y2,
boolean columns)
Constructs an Animation with the Sprites in a rectangular region of a
SpriteSheet as its frames.
|
Animation(SpriteSheet spriteSheet,
int x1,
int y1,
int x2,
int y2,
boolean columns,
long... frameDurations)
Constructs an Animation with the Sprites in a rectangular region of a
SpriteSheet as its frames.
|
SpriteSheet(SpriteSheet spriteSheet,
Filter filter,
boolean load)
Constructs a SpriteSheet from an existing SpriteSheet with a Filter
applied to it.
|