Beispiel #1
0
 public void setxy(int x, int y) //Función que permite mover la serpiente
 {
     if (siguiente != null)
     {
         siguiente.setxy(this.x, this.y);
     }
     this.x = x;
     this.y = y;
 }