Example #1
0
        public Tablero()
        {
            ////Constructor///////
            celdas  = new Celda[300, 300];
            anchura = celdas.GetLength(0);
            altura  = celdas.GetLength(1);



            for (int i = 0; i < celdas.GetLength(0); i++)
            {
                for (int j = 0; j < celdas.GetLength(1); j++)
                {
                    celdas[i, j] = new Celda();
                }
            }
        }
Example #2
0
 public void Marcar(Celda c)
 {
     c.valor = TipoCelda.SueloMarc;
     //mapa.celdas[P1x, P1y].valor = TipoCelda.SueloMarc;
 }