ComponentType class

The ComponentType handles the internal id and bitmask of a Component.

Constructors

ComponentType()
Creates a ComponentType. There should be no reason for you to call this constructor.
ComponentType.getTypeFor(Type typeOfComponent)
Returns the ComponentType for the runtimeType of a Component.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

getBitIndex(Type componentType) int
Returns the index of the bit of the componentType.