public cBaseParticleController(cParticleManager manager, uint max_particles = 30) { this.particleManager = manager; this.pool = new cParticlePoolList((int)max_particles); // new ParticlePool() this.vertices = new VertexArray(PrimitiveType.Quads); this.renderStates = new RenderStates(BlendMode.Add); }
public cSprayController(cParticleManager manager, int max_particles = 300) : base(manager, max_particles) { this.renderStates.Texture = manager.SmokeTexture; // smoke this.emiting = false; this.remaining = 0; /* * emitTimer = new cRegulator(); * emitTimer.resetByFrequency(5.0);*/ }
public cFireworksController(cParticleManager manager, uint max_particles = 300) : base(manager, max_particles) { this.renderStates.Texture = manager.FireworksTexture; }
public cExplosionController(cParticleManager manager, uint max_particles = 300) : base(manager, max_particles) { this.renderStates.Texture = manager.ExplosionTexture; }