Package com.badlogic.gdx.graphics.g2d
Class ParticleEmitter.Particle
- java.lang.Object
-
- com.badlogic.gdx.graphics.g2d.TextureRegion
-
- com.badlogic.gdx.graphics.g2d.Sprite
-
- com.badlogic.gdx.graphics.g2d.ParticleEmitter.Particle
-
- Enclosing class:
- ParticleEmitter
public static class ParticleEmitter.Particle extends Sprite
-
-
Field Summary
Fields Modifier and Type Field Description protected floatangleprotected floatangleCosprotected floatangleDiffprotected floatangleSinprotected intcurrentLifeprotected intframeprotected floatgravityprotected floatgravityDiffprotected intlifeprotected floatrotationprotected floatrotationDiffprotected float[]tintprotected floattransparencyprotected floattransparencyDiffprotected floatvelocityprotected floatvelocityDiffprotected floatwindprotected floatwindDiffprotected floatxScaleprotected floatxScaleDiffprotected floatyScaleprotected floatyScaleDiff
-
Method Summary
-
Methods inherited from class com.badlogic.gdx.graphics.g2d.Sprite
draw, draw, flip, getBoundingRectangle, getColor, getHeight, getOriginX, getOriginY, 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
-
-
-
-
Field Detail
-
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 Detail
-
Particle
public Particle(Sprite sprite)
-
-