Ejemplo n.º 1
0
 /// <summary>
 /// Function that updates the Frame each tick
 /// </summary>
 public void UpdateFrame()
 {
     if (pictureBox1.Image != null)
     {
         pictureBox1.Image.Dispose();
     }
     pictureBox1.Image = game.GetFrame();
 }