예제 #1
0
 public Form1()
 {
     espacio = 10;
     InitializeComponent();
     juego  = canva.CreateGraphics();
     cabeza = new cola(10, 10);
     comida = new comida();
 }
예제 #2
0
 public void findeJuego()
 {
     xdir        = 0;
     ydir        = 0;
     puntaje     = 0;
     puntos.Text = "0";
     ejex        = true;
     ejey        = true;
     cabeza      = new cola(10, 10);
     comida      = new comida();
     MessageBox.Show("Perdiste");
 }