public PipelineContext(Domain domain, bool isActive = true, string name = null) { TypeIndex = Internals.EcpHelpers.ContextCount++; _entityManager = new EntityManager(domain.GetSupervisor(), TypeIndex); _isActive = isActive; _domain = domain; _containerPool = domain.GetContainerPool(); _entityOwner = new EntityOwner(); _domain.AddPipelineContext(this, _entityOwner); AddContainers(); }
public Domain() { _supervisor = new EntitySupervisor(); _containerPool = new ContainerPool(); }