ArchetypeManagerBigInt constructor
Implementation
ArchetypeManagerBigInt(Iterable<Type> types)
: _componentTypeToBitIndex = HashMap(
equals: identical,
hashCode: identityHashCode,
),
_bitIndexToComponentType = List.unmodifiable(types) {
for (var bitIndex = 0; bitIndex < _bitIndexToComponentType.length; bitIndex++) {
_componentTypeToBitIndex[_bitIndexToComponentType[bitIndex]] = bitIndex;
}
}