smartClear method
void
smartClear()
Implementation
void smartClear() {
for (int y = 0; y < terminal.height; y++) {
for (int x = 0; x < terminal.width; x++) {
_grid[y][x] = Cell.empty;
}
}
}
void smartClear() {
for (int y = 0; y < terminal.height; y++) {
for (int x = 0; x < terminal.width; x++) {
_grid[y][x] = Cell.empty;
}
}
}