Package com.badlogic.gdx
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
FieldsModifier and TypeFieldDescriptionprotected floatprotected floatprotected floatprotected floatprotected intprotected intprotected floatprotected floatprotected intprotected floatprotected floatprotected float[]protected floatprotected floatprotected floatprotected floatprotected floatprotected floatprotected floatprotected floatprotected floatprotected float -
Constructor Summary
Constructors -
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, translateYMethods 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 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)
-