DarkTornado

Emitter Initialize

Jun 5th, 2011
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.42 KB | None | 0 0
  1. public Emitter(Vector2 position, ParticleCreationData[] particleCreationData)
  2.         {
  3.             this.position = position;
  4.             particles = new LinkedList<Particle>();
  5.             this.particleCreationData = particleCreationData;
  6.             timers = new double[particleCreationData.Length];
  7.             for (int i = 0; i < timers.Length; i++)
  8.             {
  9.                 timers[i] = 0;
  10.             }
  11.         }
Advertisement
Add Comment
Please, Sign In to add comment