SnakeGame.onQuit

Makes it possible to close the game the proper way.

class SnakeGame
void
onQuit
()

Meta