Example #1
0
 internal ParticleEmitter(Vector2 _SpawnPos, PsEmitterSpawnInstruction _Instructions)
 {
     mSettings          = _Instructions.EmitterSettings;
     mBurstTimer        = mSettings.TimerPerParticleBurst;
     mLifeSpanInitial   = mSettings.EmitterLifeSpan;
     mLifeSpanRemaining = mLifeSpanInitial;
     mPosition          = _SpawnPos;
 }
Example #2
0
 public PsEmitterSpawnInstruction(float _HowManySecondsUntillActivation, float _HowManySecondsUntillDeActivation, PsEmitterSettings _EmitterSettings)
 {
     HowManySecondsUntillActivation   = _HowManySecondsUntillActivation;
     HowManySecondsUntillDeActivation = _HowManySecondsUntillDeActivation;
     EmitterSettings = _EmitterSettings;
 }