Ejemplo n.º 1
0
 internal GraphicEntity(ElementTag tag, IComponentManager manager, IEntityManager emanager, EntityOrderContainer order)
 {
     this.order    = order;
     this.manager  = manager;
     this.emanager = emanager;
     Tag           = tag;
 }
Ejemplo n.º 2
0
 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);
 }