RestartGame (Kernel)


Restarts the game. In the sense that the interpreter was an actual computer, this would be like pressing the reset button. It restarts the game by stopping all the sounds, disposing of the menubar, clearing the heap status, and disposing of all the scripts. Then, it starts executing the game again. Because of all of this, it doesn’t return a value.

See also: GameIsRestarting(), SaveGame(), RestoreGame().