Basics
Guides
API Reference
Basics
Guides
API Reference
[18:7] extends: FxObj
Wraps FXGL's PoolnewObject()
method, which is a future Java-bridge addition.
This wrapper exposes the obtain / free / clear surface that
works on any existing Pool instance.
Pool ()
Empty default constructor; populated by adopt.
adopt (object Ajo)
Wraps an existing Pool AussomJavaObject.
Ajo is an AussomJavaObject around a Pool.A new wrapper.obtain ()
Returns a pooled instance (new if the pool is empty).
An AussomJavaObject around the pooled instance.free (object ObjAjo)
Returns the object to the pool. Invokes its reset() if Poolable.
ObjAjo is the object to return.this objectclear ()
Clears every free object from the pool.
this object
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.