removeComponent method

void removeComponent(
  1. EntityID e,
  2. Type type
)

Implementation

@pragma('vm:prefer-inline')
void removeComponent(EntityID e, Type type) {
  if (_removedEntities.contains(e)) return;
  _commands.add(_Command.removeComponent(e, type));
}