MCPcopy Create free account
hub / github.com/SolarLune/masterplan / Draw

Method Draw

menu.go:70–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68}
69
70func (ms *MenuSystem) Draw() {
71
72 for _, menu := range ms.ExclusiveMenus {
73 if menu.Opened {
74 menu.Draw()
75 return
76 }
77 }
78
79 for _, menu := range ms.Menus {
80 menu.Draw()
81 }
82}
83
84func (ms *MenuSystem) Add(menu *Menu, exclusive bool) *Menu {
85

Callers

nothing calls this directly

Calls 1

DrawMethod · 0.65

Tested by

no test coverage detected