insert<T> method

void insert<T>(
  1. Entity entity,
  2. T component
)

Queues inserting component of type T onto entity.

Implementation

void insert<T>(Entity entity, T component) {
  _push(_opInsert, entity, component, T);
}