Contents

components

The component system’s list of components.

Declaration

var components: [ComponentType] { get }

Discussion

Calling a method of the system’s component class forwards that message to every component in this array.

Important among component-specific messages is the update(deltaTime:) method—call this method on a component system to perform per-frame updates for all the component instances it manages.

See Also

Managing a List of Components