internal GraphicEntity(ElementTag tag, IComponentManager manager, IEntityManager emanager, EntityOrderContainer order) { this.order = order; this.manager = manager; this.emanager = emanager; Tag = tag; }
public EntityComponentManager(IManagerChangeNotify notify, EntityOrderContainer orderContainer) { this.orderContainer = orderContainer; this.notify = notify; entitySynchronizer = new SynchronizationContext <EntityComponentManager, GraphicEntity>(this); comSynchronizer = new SynchronizationContext <EntityComponentManager, IGraphicComponent>(this); flyweightComSynchronizer = new SynchronizationContext <EntityComponentManager, IFlyweightGraphicComponent>(this); }