public WorldCollection(Context parentContext, World mgr) { Mgr = mgr; Ctx = new Context(parentContext); Ctx.BindExisting <WorldCollection, WorldCollection>(this); Ctx.BindExisting <World, World>(mgr); DefaultSystemCollection = new SystemCollection(Ctx, this); DefaultSystemCollection.AddPass(initializePassRegister = new InitializePassRegister(), null, null); DefaultSystemCollection.AddPass(updatePassRegister = new UpdatePassRegister(), new[] { typeof(InitializePassRegister) }, null); }
public SystemGroup(WorldCollection collection) : base(collection) { initializePassRegister = new InitializePassRegister(); updatePassRegister = new UpdatePassRegister(); }