Example #1
0
 //游戏区绘制
 private void pictureBoxGame_Paint(object sender, PaintEventArgs e)
 {
     //绘制小鸟
     _bird.DrawBird(e.Graphics);
     //分别绘制管子
     for (int i = 0; i < 3; i++)
     {
         _pipe[i].DrawPipe(e.Graphics);
     }
 }