Package | Description |
---|---|
org.cell2d | |
org.cell2d.space.map |
Modifier and Type | Field and Description |
---|---|
static Sprite |
Sprite.BLANK
A blank Sprite with no appearance.
|
Modifier and Type | Method and Description |
---|---|
Sprite |
AnimationInstance.getCurrentSprite()
Returns the Sprite that is specified by this AnimationInstance's current
indices, and that the draw() methods will draw if called now.
|
Sprite |
SpriteSheet.getSprite(int x,
int y)
Returns this SpriteSheet's Sprite at the specified coordinates.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<Sprite> |
SpriteSheet.iterator()
Returns an Iterator over this SpriteSheet's Sprites.
|
Constructor and Description |
---|
Sprite(Sprite sprite,
Filter filter,
boolean load)
Constructs a Sprite from an existing Sprite with a Filter applied to it.
|
Modifier and Type | Method and Description |
---|---|
Sprite |
TiledArea.getSprite(org.tiledreader.TiledImageLayer layer)
Returns the Sprite that this TiledArea constructed to represent the
specified TiledImageLayer, or null if the TiledImageLayer is not part of
this TiledArea's TiledMap.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.Iterable<Sprite> |
TiledConverter.getSprites(org.tiledreader.TiledTileset tileset,
java.util.Set<Filter> filters,
boolean load)
Converts the specified TiledTileset, if it has not already been
converted, and returns an Iterable of the Sprites corresponding to all of
the TiledTileset's TiledTiles.
|