MCPcopy
hub / github.com/CharlesPikachu/Games / QuitGame

Function QuitGame

cpgames/core/utils/misc.py:14–16  ·  view source on GitHub ↗
(use_pygame=True)

Source from the content-addressed store, hash-verified

12
13'''退出程序'''
14def QuitGame(use_pygame=True):
15 if use_pygame: pygame.quit()
16 sys.exit()

Callers 15

runMethod · 0.85
ShowEndInterfaceMethod · 0.85
ShowStartInterfaceMethod · 0.85
runMethod · 0.85
switchlevelinterfaceMethod · 0.85
failureinterfaceMethod · 0.85
pauseinterfaceMethod · 0.85
startMethod · 0.85
runMethod · 0.85
ShowStartInterfaceMethod · 0.85
startLevelGameMethod · 0.85
showTextMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected