Skip to content

Instantly share code, notes, and snippets.

@MartinZikmund
Created December 13, 2020 13:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MartinZikmund/268826dfcb5e12854a930848b4fdd5b1 to your computer and use it in GitHub Desktop.
Save MartinZikmund/268826dfcb5e12854a930848b4fdd5b1 to your computer and use it in GitHub Desktop.
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