Class ParticleEmitter.Particle

java.lang.Object
com.badlogic.gdx.graphics.g2d.TextureRegion
com.badlogic.gdx.graphics.g2d.Sprite
com.badlogic.gdx.ParticleEmitter.Particle
Enclosing class:
ParticleEmitter

public static class ParticleEmitter.Particle extends com.badlogic.gdx.graphics.g2d.Sprite
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected float
     
    protected float
     
    protected float
     
    protected float
     
    protected int
     
    protected int
     
    protected float
     
    protected float
     
    protected int
     
    protected float
     
    protected float
     
    protected float[]
     
    protected float
     
    protected float
     
    protected float
     
    protected float
     
    protected float
     
    protected float
     
    protected float
     
    protected float
     
    protected float
     
    protected float
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Particle(com.badlogic.gdx.graphics.g2d.Sprite sprite)
     
  • Method Summary

    Methods inherited from class com.badlogic.gdx.graphics.g2d.Sprite

    draw, draw, flip, getBoundingRectangle, getColor, getHeight, getOriginX, getOriginY, getPackedColor, getRotation, getScaleX, getScaleY, getVertices, getWidth, getX, getY, rotate, rotate90, scale, scroll, set, setAlpha, setBounds, setCenter, setCenterX, setCenterY, setColor, setColor, setFlip, setOrigin, setOriginBasedPosition, setOriginCenter, setPackedColor, setPosition, setRegion, setRotation, setScale, setScale, setSize, setU, setU2, setV, setV2, setX, setY, translate, translateX, translateY

    Methods inherited from class com.badlogic.gdx.graphics.g2d.TextureRegion

    getRegionHeight, getRegionWidth, getRegionX, getRegionY, getTexture, getU, getU2, getV, getV2, isFlipX, isFlipY, setRegion, setRegion, setRegion, setRegion, setRegionHeight, setRegionWidth, setRegionX, setRegionY, setTexture, split, split

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • life

      protected int life
    • currentLife

      protected int currentLife
    • xScale

      protected float xScale
    • xScaleDiff

      protected float xScaleDiff
    • yScale

      protected float yScale
    • yScaleDiff

      protected float yScaleDiff
    • rotation

      protected float rotation
    • rotationDiff

      protected float rotationDiff
    • velocity

      protected float velocity
    • velocityDiff

      protected float velocityDiff
    • angle

      protected float angle
    • angleDiff

      protected float angleDiff
    • angleCos

      protected float angleCos
    • angleSin

      protected float angleSin
    • transparency

      protected float transparency
    • transparencyDiff

      protected float transparencyDiff
    • wind

      protected float wind
    • windDiff

      protected float windDiff
    • gravity

      protected float gravity
    • gravityDiff

      protected float gravityDiff
    • tint

      protected float[] tint
    • frame

      protected int frame
  • Constructor Details

    • Particle

      public Particle(com.badlogic.gdx.graphics.g2d.Sprite sprite)