Example #1
0
        public static void ApplyPhysics(ParticleMap input, GameTime GameTime)
        {
            foreach (Particle Particle in input.Particles)
            {
                if (GravityEnabled)
                    Gravity.ApplyGravity(Particle);

                Particle.Update(GameTime);
            }
        }
Example #2
0
 public Core()
 {
     graphics = new GraphicsDeviceManager(this);
     Content.RootDirectory = "Content";
     particleMap = new ParticleMap();
 }
Example #3
0
 public Core()
 {
     graphics = new GraphicsDeviceManager(this);
     Content.RootDirectory = "Content";
     particleMap           = new ParticleMap();
 }