Created
December 13, 2020 13:24
-
-
Save MartinZikmund/268826dfcb5e12854a930848b4fdd5b1 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
public void Clear() | |
{ | |
for (int row = 0; row < Size; row++) | |
{ | |
for (int column = 0; column < Size; column++) | |
{ | |
Cells[row, column] = CellState.Dead; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment