oneOf method

void oneOf(
  1. List<Type> componentTypes
)

Modifies the aspect in a way that an entity must possess one of the specified components.

Implementation

void oneOf(List<Type> componentTypes) {
  _updateBitMask(_one, componentTypes);
}