示例#1
0
        internal Managers(IManagerChangeNotify notify)
        {
            EntityOrder   = new EntityOrderContainer();
            this.SManager = new SystemManager(notify);
            var encom = new EntityComponentManager(notify, EntityOrder);

            this.CManager = encom;
            this.EManager = encom;
        }
示例#2
0
 public Entity(ElementTag tag, IComponentManager manager, EntityOrderContainer order)
 {
     this.order   = order;
     this.manager = manager;
     Tag          = tag;
 }
示例#3
0
 public EntityComponentManager(IManagerChangeNotify notify, EntityOrderContainer orderContainer)
 {
     this.orderContainer = orderContainer;
     this.notify         = notify;
 }