file: Pool.aus

class: Pool

[18:7] extends: FxObj

Wraps FXGL's Pool (com.almasb.fxgl.core.pool.Pool), the abstract base for a reusable object pool. Aussom users that need a custom pool wrap an existing Pool AJO (e.g. returned by another FXGL API); authoring a brand-new Pool subclass from Aussom requires implementing the abstract newObject() method, which is a future Java-bridge addition. This wrapper exposes the obtain / free / clear surface that works on any existing Pool instance.

Methods