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

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