Closed jalbert-dev closed 5 years ago
Thank you very much! :clinking_glasses:
I am thinking that maybe we could also pass a mutable reference of Self::Input
as an argument to this method, like we do in on_input
. This way games can track the close request if they need to. Could you add that?
It hadn't occurred to me that a close request from the OS would be something the user might want to store in their Input type, but that does make sense! Went ahead and made that change. I also altered the function description comment to be more in line with yours, and to be a little more specific about what type of close requests the function handles.
Awesome! Thank you again!
Fixes #11
Tried to stick to the style of the original code and documentation. Let me know if there are any issues.