public EcsWorld(EcsStoreService ecsStoreService) { _ecsStoreService = ecsStoreService; Services = new Dictionary <Type, BaseEcsService>(); _initServices = new HashSet <IEcsInitService>(); _updateServices = new HashSet <IEcsUpdateService>(); _finishServices = new HashSet <IEcsDestroyService>(); }
public void SetUp() { _ecsStore = new EcsStore(); _ecsStoreService = new EcsStoreService(_ecsStore); _ecsWorld = new EcsWorld(_ecsStoreService); StaticStore.CountOfDestroy = 0; StaticStore.CountOfInit = 0; StaticStore.CountOfUpdate = 0; }
public TestService2(EcsStoreService storeService) : base(storeService) { }
public TestService3UpdateInitFinish(EcsStoreService storeService) : base(storeService) { }
public void SetUp() { _ecsStore = new EcsStore(); _ecsStoreService = new EcsStoreService(_ecsStore); }
protected BaseEcsService(EcsStoreService storeService) { StoreService = storeService; }