Выбор заполнения

This commit is contained in:
2024-12-03 15:22:40 +03:00
parent 7b1b2dd62b
commit 07d8a83ebe
3 changed files with 8 additions and 6 deletions

View File

@@ -19,7 +19,7 @@ class CellularAutomaton
int getCellState(int x, int y) const;
int getNeighborhoodIndex(int x, int y) const;
public:
CellularAutomaton(int width, int height);
CellularAutomaton(int width, int height, bool fillWithRandom);
void update();
void displayField() const;