public class ParticleRenderable extends Renderable
| Modifier and Type | Field and Description |
|---|---|
com.badlogic.gdx.graphics.g2d.ParticleEffectPool.PooledEffect |
effect |
provider| Constructor and Description |
|---|
ParticleRenderable(com.badlogic.gdx.graphics.g2d.ParticleEffectPool.PooledEffect effect) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(com.badlogic.gdx.graphics.g2d.Batch batch) |
float |
layer() |
void |
reset() |
Renderable |
setPosition(float x,
float y) |
add, add, add, compareTo, onFree, remove, setProvider, spritepublic ParticleRenderable(com.badlogic.gdx.graphics.g2d.ParticleEffectPool.PooledEffect effect)
public void draw(com.badlogic.gdx.graphics.g2d.Batch batch)
draw in class Renderablepublic Renderable setPosition(float x, float y)
setPosition in class Renderablepublic float layer()
layer in class Renderablepublic void reset()