MCPcopy
hub / github.com/EngoEngine/engo / RunPreparation

Function RunPreparation

engo_empty.go:51–54  ·  view source on GitHub ↗

RunPreparation is called automatically when calling Open. It should only be called once.

(defaultScene Scene)

Source from the content-addressed store, hash-verified

49
50// RunPreparation is called automatically when calling Open. It should only be called once.
51func RunPreparation(defaultScene Scene) {
52 Time = NewClock()
53 SetScene(defaultScene, false)
54}
55
56func runLoop(defaultScene Scene, headless bool) {
57 c := make(chan os.Signal, 1)

Callers 1

runLoopFunction · 0.70

Calls 2

NewClockFunction · 0.85
SetSceneFunction · 0.85

Tested by

no test coverage detected