Uses of Class
com.badlogic.gdx.graphics.g2d.Sprite
-
Packages that use Sprite Package Description com.badlogic.gdx.graphics.g2d com.badlogic.gdx.scenes.scene2d.ui com.badlogic.gdx.scenes.scene2d.utils -
-
Uses of Sprite in com.badlogic.gdx.graphics.g2d
Subclasses of Sprite in com.badlogic.gdx.graphics.g2d Modifier and Type Class 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.Methods in com.badlogic.gdx.graphics.g2d that return Sprite Modifier and Type Method 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.Methods in com.badlogic.gdx.graphics.g2d that return types with arguments of type Sprite Modifier and Type Method 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 largestindex
.Array<Sprite>
ParticleEmitter. getSprites()
Methods in com.badlogic.gdx.graphics.g2d with parameters of type Sprite Modifier and Type Method 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 spriteMethod parameters in com.badlogic.gdx.graphics.g2d with type arguments of type Sprite Modifier and Type Method Description void
ParticleEmitter. setSprites(Array<Sprite> sprites)
Constructors in com.badlogic.gdx.graphics.g2d with parameters of type Sprite Constructor Description Particle(Sprite sprite)
Sprite(Sprite sprite)
Creates a sprite that is a copy in every way of the specified sprite. -
Uses of Sprite in com.badlogic.gdx.scenes.scene2d.ui
Methods in com.badlogic.gdx.scenes.scene2d.ui that return Sprite Modifier and Type Method Description Sprite
Skin. getSprite(java.lang.String name)
Returns a registered sprite. -
Uses of Sprite in com.badlogic.gdx.scenes.scene2d.utils
Methods in com.badlogic.gdx.scenes.scene2d.utils that return Sprite Modifier and Type Method Description Sprite
SpriteDrawable. getSprite()
Methods in com.badlogic.gdx.scenes.scene2d.utils with parameters of type Sprite Modifier and Type Method Description void
SpriteDrawable. setSprite(Sprite sprite)
Constructors in com.badlogic.gdx.scenes.scene2d.utils with parameters of type Sprite Constructor Description SpriteDrawable(Sprite sprite)
-