private World(bool isSimulation) { _entityWorld = new EntityWorld(); _particleEngine = new ParticleEngine(); _entityWorld.Services.Add<IParticleEngine>(_particleEngine); this.CreateSystems(isSimulation); }
public ParticleEffectRenderer(EntityWorld entityWorld, ParticleEngine particleEngine) { _entityWorld = entityWorld; _particleEngine = particleEngine; }