Exemple #1
0
 /// <summary>
 /// Allows a new particle system to be managed by the particle
 /// manager.
 /// </summary>
 /// <param name="psystem"></param>
 public void Register(ParticleSystem psystem)
 {
     //Remember the type of the passed particle system
     particleSystemTypes.Add(psystem.GetType());
     //Add the new particle system to the game's components
     game.Components.Add(psystem);
 }
 /// <summary>
 /// Allows a new particle system to be managed by the particle
 /// manager.
 /// </summary>
 /// <param name="psystem"></param>
 public void Register(ParticleSystem psystem)
 {
     //Remember the type of the passed particle system
     particleSystemTypes.Add(psystem.GetType());
     //Add the new particle system to the game's components
     game.Components.Add(psystem);
 }