ComponentArray<T extends Component> class

Constructors

ComponentArray(int capacity, T creator(int index))

Properties

capacity int
final
data List<T>
final
entityToIndexList Uint16List
final
hashCode int
The hash code for this object.
no setterinherited
indexToEntityList Uint16List
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
no setter

Methods

add(Entity entity) → void
entityDestroyed(Entity entity) → void
getComponent(Entity entity) → T?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(Entity entity) → void
toString() String
A string representation of this object.
override

Operators

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