issues
search
jenniferemshepherd
/
dawn
procedurally generated socio-genetic simulation
2
stars
1
forks
source link
Cells have fertility
#94
Closed
rcvink
closed
6 years ago
rcvink
commented
6 years ago
Cells:
have a fertility property, which is default by false
knows when it last reproduced
CellFactory:
sets parent cells' fertility to false after reproduction
UpdateCellsFertility (listener):
sets cells' fertility to true if age > x && time > cells' last reproduction + y
Cells:
CellFactory:
UpdateCellsFertility (listener):