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 classParticleEmitter.Particlestatic classTextureAtlas.AtlasSpriteA 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 SpriteTextureAtlas. createSprite(java.lang.String name)Returns the first region found with the specified name as a sprite.SpriteTextureAtlas. 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 voidSpriteCache. add(Sprite sprite)Adds the specified sprite to the cache.protected ParticleEmitter.ParticleParticleEmitter. newParticle(Sprite sprite)voidSprite. 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 voidParticleEmitter. 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 SpriteSkin. 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 SpriteSpriteDrawable. getSprite()Methods in com.badlogic.gdx.scenes.scene2d.utils with parameters of type Sprite Modifier and Type Method Description voidSpriteDrawable. setSprite(Sprite sprite)Constructors in com.badlogic.gdx.scenes.scene2d.utils with parameters of type Sprite Constructor Description SpriteDrawable(Sprite sprite)
-