Many interactive programs can be GetInput(); ChangeState(); DrawState();
Why wouldn't their lifetimes be isolated?
Also the drawing doesn't need a mutable reference.
Many interactive programs can be GetInput(); ChangeState(); DrawState();
Why wouldn't their lifetimes be isolated?
Also the drawing doesn't need a mutable reference.