getComponents method

Iterable<Comp<T>> getComponents()

Returns the top-level components attached directly to this entity/component (does not recurse into nested components).

Implementation

Iterable<Comp<T>> getComponents() => _components;