I was thinking about doing it like `render { … }` ...
# gamedev
o
I was thinking about doing it like
render { … }
function instead of
nextFrame()
, this would encapsulate state even more, but then you likely will extract a render function (or several) anyway.