public static void ApplyPhysics(ParticleMap input, GameTime GameTime) { foreach (Particle Particle in input.Particles) { if (GravityEnabled) Gravity.ApplyGravity(Particle); Particle.Update(GameTime); } }
public Core() { graphics = new GraphicsDeviceManager(this); Content.RootDirectory = "Content"; particleMap = new ParticleMap(); }