-
-
Save parzibyte/f2db130962e0ee632e9ad58aface53fb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tablero(int altura, int anchura, bool modoProgramador) | |
{ | |
this->altura = altura; | |
this->anchura = anchura; | |
this->modoProgramador = modoProgramador; | |
int x, y; | |
for (y = 0; y < this->altura; y++) | |
{ | |
vector<Celda> fila; | |
for (x = 0; x < this->anchura; x++) | |
{ | |
fila.push_back((Celda(x, y, false))); | |
} | |
this->contenido.push_back(fila); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment