示例#1
0
 public override void Draw(GameTime gameTime)
 {
     G.SpriteBatch.Begin();
     for (int i = 0; i < Particles.Count; i++)
     {
         Particle p = Particles[i];
         if (p.Enabled)
         {
             p.Draw();
         }
     }
     G.SpriteBatch.End();
 }