Removes all elements.
Returns a shallow or deep copy of the list.
Optionaldeep: booleanReturns true if the list has no elements.
Returns an iterator over the elements.
Removes and returns the last element.
Removes and returns the first element.
Converts to a plain array.
Structural interface for all dynamically-generated Nape list classes (BodyList, ShapeList, CompoundList, etc.).
These classes are created at runtime by createListClasses and placed in the
napenamespace, so they cannot be imported directly. Use this interface as the return type for Space / Body query methods.