private void CreateSettingsContentEntitiesAndNetworking() { ContentLoader.resolver = new AutofacContentLoaderResolver(this); ContentLoader.Use <MockContentLoader>(); instancesToDispose.Add(settings = RegisterMock(new MockSettings())); instancesToDispose.Add( entities = new EntitiesRunner(new AutofacHandlerResolver(this), settings)); instancesToDispose.Add(new Messaging(new MockNetworkResolver())); }
private void CreateEntitySystem() { instancesToDispose.Add( entities = new EntitiesRunner(new AutofacHandlerResolver(this), settings)); RegisterInstance(entities); }
private void CreateEntitySystem() { instancesToDispose.Add( entities = new EntitiesRunner(new AutofacHandlerResolver(this), settings)); RegisterInstance(entities); }