ComponentManager class

Manages all the components in a World.

Constructors

ComponentManager(World world)

Properties

components → List<Type>
List of registered components.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
world World
The World which this manager belongs to.
final

Methods

getComponentPool<T extends Component<V>, V>() ComponentPool<T>
hasComponent<T extends Component>() → bool
Check if a component is registered.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerComponent<T extends Component>(T builder()) → void
Register a component.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited