Pause and resume game engine.