|
|
|
|
|
by CyberDildonics
5 days ago
|
|
Why would they need them at the same time? The overall state will contain the button. Many interactive programs can be GetInput(); ChangeState(); DrawState(); Why wouldn't their lifetimes be isolated? Also the drawing doesn't need a mutable reference. |
|