Aspect.forOneOf constructor

Aspect.forOneOf(
  1. List<Type> componentTypes
)

Creates an aspect where an entity must possess one of the specified componens.

Implementation

Aspect.forOneOf(List<Type> componentTypes) {
  oneOf(componentTypes);
}