Add additional states to cells #45
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, cells have an on or off boolean state.
However, in order to display extra information such as repeated calls to cells or the time since last call to a cell, different states might prove useful.
An example would be an attempt to render the 'expansion' of cells as the area that they repeatedly passed through. If a newly born cell passes through an area once it receives one color; if it passes multiple times, it receives a slightly different shade.
Thereby we would arrive at 4 states:
which could be encapsulated in a simple enum.
On the other hand, we could encode information about the time since the last activation of a cell which would ideally require its own state class (and lastCall timestamp). For now, this is probably overkill and enums are sufficient.