If resources can be considered to "live" inside crect, then there will not be need for any global structures, as is done in the blinky example right now.
More or less, allocate all resources within crect and, generally, do not have resources take references but the type.
If resources can be considered to "live" inside
crect
, then there will not be need for any global structures, as is done in theblinky
example right now. More or less, allocate all resources withincrect
and, generally, do not have resources take references but the type.