Exemple #1
0
    public SuperEmitterSample(Microsoft.Xna.Framework.Game game)
      : base(game)
    {
      ParticleSystem particleSystem = new Rockets();
      ParticleSystemService.ParticleSystems.Add(particleSystem);

      _particleSystemNode = new ParticleSystemNode(particleSystem);
      GraphicsScreen.Scene.Children.Add(_particleSystemNode);
    }
Exemple #2
0
        public SuperEmitterSample(Microsoft.Xna.Framework.Game game)
            : base(game)
        {
            ParticleSystem particleSystem = new Rockets();

            ParticleSystemService.ParticleSystems.Add(particleSystem);

            _particleSystemNode = new ParticleSystemNode(particleSystem);
            GraphicsScreen.Scene.Children.Add(_particleSystemNode);
        }