コード例 #1
0
ファイル: GraphicEntity.cs プロジェクト: GreyArmor/d3dlab
 internal GraphicEntity(ElementTag tag, IComponentManager manager, IEntityManager emanager, EntityOrderContainer order)
 {
     this.order    = order;
     this.manager  = manager;
     this.emanager = emanager;
     Tag           = tag;
 }
コード例 #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);
 }