file: Array.aus

class: Array

[18:7] extends: FxObj

Wraps FXGL's core Array (com.almasb.fxgl.core.collection.Array), a GDX-style growable array used as the return type by many FXGL APIs (ReflectionUtils.findFieldsByAnnotation, PhysicsWorld.getBodies, etc.). Provides the standard add / get / set / remove / iteration surface plus an ordered flag. Aussom code typically obtains one from an FXGL call and reads it with size() + get(i); the wrapper also exposes the mutators for callers that build an Array to pass back into FXGL.

Methods