Generic typed wrapper around Haxe list objects (BodyList, ShapeList, etc.).
Provides a modern iterable interface with for...of, length, at(), etc.
Deprecated
The engine's list getters (e.g. body.shapes) now return the
cached typed list directly; this wrapper is kept for backwards
compatibility only and allocates on every construction.
Generic typed wrapper around Haxe list objects (BodyList, ShapeList, etc.).
Provides a modern iterable interface with
for...of,length,at(), etc.Deprecated
The engine's list getters (e.g.
body.shapes) now return the cached typed list directly; this wrapper is kept for backwards compatibility only and allocates on every construction.