ui starting, menu screen, ingame help

This commit is contained in:
2019-11-08 03:36:26 +03:00
parent 4532320ce3
commit cb7718860a
11 changed files with 271 additions and 40 deletions

View File

@ -24,7 +24,7 @@ func Init(ctx util.ClientCtx) *MainWindow {
func (mw *MainWindow) AddLayer(name string, idx int, colorName string) *MainWindow {
c := blt.ColorFromName(colorName)
mw.layers[name] = &Layer{idx: idx, defaultColor: c}
mw.layers[name] = &Layer{Idx: idx, defaultColor: c}
return mw
}