file: Pools.aus

class: Pools

[21:14] static extends: object

Helper for FXGL's Pools static utility (com.almasb.fxgl.core.pool.Pools), a libGDX-style object pool registry. Used to recycle high-frequency allocations (bullets, particles, short-lived events) by class. Usage: bullet = Pools.obtain("com.mygame.Bullet"); ... Pools.free(bullet); Custom Pool implementations can be registered via Pools.set(ClassName, PoolAjo).

Methods