| Package | Description |
|---|---|
| com.badlogic.gdx.graphics.g2d | |
| com.badlogic.gdx.physics.box2d.graphics | |
| com.badlogic.gdx.scenes.scene2d.ui | |
| com.badlogic.gdx.scenes.scene2d.utils |
| Modifier and Type | Class and Description |
|---|---|
static class |
ParticleEmitter.Particle |
static class |
TextureAtlas.AtlasSprite
A sprite that, if whitespace was stripped from the region when it was packed, is automatically positioned as if whitespace
had not been stripped.
|
| Modifier and Type | Method and Description |
|---|---|
Sprite |
TextureAtlas.createSprite(java.lang.String name)
Returns the first region found with the specified name as a sprite.
|
Sprite |
TextureAtlas.createSprite(java.lang.String name,
int index)
Returns the first region found with the specified name and index as a sprite.
|
Sprite |
ParticleEmitter.getSprite() |
| Modifier and Type | Method and Description |
|---|---|
Array<Sprite> |
TextureAtlas.createSprites()
Returns all regions in the atlas as sprites.
|
Array<Sprite> |
TextureAtlas.createSprites(java.lang.String name)
Returns all regions with the specified name as sprites, ordered by smallest to largest
index. |
| Modifier and Type | Method and Description |
|---|---|
void |
SpriteCache.add(Sprite sprite)
Adds the specified sprite to the cache.
|
protected ParticleEmitter.Particle |
ParticleEmitter.newParticle(Sprite sprite) |
void |
Sprite.set(Sprite sprite)
Make this sprite a copy in every way of the specified sprite
|
void |
ParticleEmitter.setSprite(Sprite sprite) |
| Constructor and Description |
|---|
Particle(Sprite sprite) |
Sprite(Sprite sprite)
Creates a sprite that is a copy in every way of the specified sprite.
|
| Modifier and Type | Method and Description |
|---|---|
protected ParticleEmitter.Particle |
ParticleEmitterBox2D.newParticle(Sprite sprite) |
| Modifier and Type | Method and Description |
|---|---|
Sprite |
Skin.getSprite(java.lang.String name)
Returns a registered sprite.
|
| Modifier and Type | Method and Description |
|---|---|
Sprite |
SpriteDrawable.getSprite() |
| Modifier and Type | Method and Description |
|---|---|
void |
SpriteDrawable.setSprite(Sprite sprite) |
| Constructor and Description |
|---|
SpriteDrawable(Sprite sprite) |