public void Draw(Graphics g) //绘制 { BG.Draw(g); //绘制背景 PP.Draw(g); //绘制玩家飞机 for (int i = 0; i < listPlayerBullet.Count; i++) //把集合中的每一发子弹绘制出来 { listPlayerBullet[i].Draw(g); } for (int i = 0; i < listplaneEnemies.Count; i++)//绘制敌人飞机 { listplaneEnemies[i].Draw(g); } for (int i = 0; i < listenemyExplosions.Count; i++)//绘制敌人爆炸 { listenemyExplosions[i].Draw(g); } for (int i = 0; i < listenemyBullets.Count; i++)//绘制敌人子弹 { listenemyBullets[i].Draw(g); } for (int i = 0; i < listplayerExplosions.Count; i++) { listplayerExplosions[i].Draw(g); } DrawScore(g);//绘制分数 for (int i = 0; i < listSupllies.Count; i++) { listSupllies[i].Draw(g); } for (int i = 0; i < listRocks.Count; i++) { listRocks[i].Draw(g); } for (int i = 0; i < listplayerSkill.Count; i++) { listplayerSkill[i].Draw(g); } }