MCPcopy Create free account
hub / github.com/fogleman/nes / NewGameView

Function NewGameView

ui/gameview.go:23–26  ·  view source on GitHub ↗
(director *Director, console *nes.Console, title, hash string)

Source from the content-addressed store, hash-verified

21}
22
23func NewGameView(director *Director, console *nes.Console, title, hash string) View {
24 texture := createTexture()
25 return &GameView{director, console, title, hash, texture, false, nil}
26}
27
28func (view *GameView) load(snapshot int) {
29 // load state

Callers 1

PlayGameMethod · 0.85

Calls 1

createTextureFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…