public class ParticleEffectPool extends Pool<ParticleEffectPool.PooledEffect>
Modifier and Type | Class and Description |
---|---|
class |
ParticleEffectPool.PooledEffect |
Pool.Poolable
Constructor and Description |
---|
ParticleEffectPool(ParticleEffect effect,
int initialCapacity,
int max) |
Modifier and Type | Method and Description |
---|---|
ParticleEffectPool.PooledEffect |
obtain()
Returns an object from this pool.
|
public ParticleEffectPool(ParticleEffect effect, int initialCapacity, int max)
public ParticleEffectPool.PooledEffect obtain()
Pool
Pool.newObject()
) or reused (previously
freed
).obtain
in class Pool<ParticleEffectPool.PooledEffect>
Copyright © 2014. All rights reserved.