MCPcopy Index your code
hub / github.com/EngoEngine/engo / Exit

Method Exit

scene.go:45–45  ·  view source on GitHub ↗

Exit is called when the user or the system requests to close the game This should be used to cleanup or prompt user if they're sure they want to close To prevent the default action (close/exit) make sure to set OverrideCloseAction in your RunOpts to `true`. You should then handle the exiting of the

()

Source from the content-addressed store, hash-verified

43 // your RunOpts to `true`. You should then handle the exiting of the program by calling
44 // engo.Exit()
45 Exit()
46}
47
48// Updater is an interface for what handles your game's Update during each frame.

Callers 1

closeEventFunction · 0.65

Implementers 1

DefaultScenedemos/exit/exit.go

Calls

no outgoing calls

Tested by

no test coverage detected