Checks the Keyboard.GetState() property to see if the escape key is down, and exit's the game.
[b]Last Modified:[/b] December 23, 2007
[b]Instructions:[/b]
1) Make sure you have the XNA Framework in
Checks the Keyboard.GetState() property to see if the escape key is down, and exit's the game.
[b]Last Modified:[/b] December 23, 2007
[b]Instructions:[/b]
1) Make sure you have the XNA Framework installed.
2) Copy and paste the snippet to a class.
3) Call the subroutine in the Update() subroutine.
<">