clear method

void clear()

Drops every entity, skeleton and registry entry. The cache keeps a sync source's records through a clear, so owned entities survive this.

Implementation

void clear() {
  _ready();
  _record(ActionKind.clear, '*');
  _cache.cache.clear();
}