mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 17:47:45 +00:00
GameOfLife: Add a tick counter to the status bar
The counter is incremented after each new generation and reset whenever any cell on the board is toggled. Resizing the board does not reset the tick count.
This commit is contained in:
parent
7e9ea964a8
commit
19dfdeeaec
4 changed files with 45 additions and 18 deletions
|
@ -61,5 +61,6 @@
|
|||
|
||||
@GUI::Statusbar {
|
||||
name: "statusbar"
|
||||
segment_count: 2
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue