Description :
Pauses the game.
Uses :
Use this for pausing the execution of the game. Keyboard, Mouse and Touch events will still be called.
Example :
This code checks if the game is paused when the P key is released. If the game is paused it gets resumed, otherwise it gets paused.