Get view-menu to play the interface sound

This commit is contained in:
2020-03-21 23:45:51 +00:00
parent 83aa1c4768
commit bcaf3d9b58
7 changed files with 151 additions and 21 deletions

View File

@@ -32,9 +32,10 @@ type AssetStore struct {
entries entryMap
// These members are used to store things we've already loaded
maps map[string]*Map
objs map[string]*Object
sets map[string]*Set
maps map[string]*Map
objs map[string]*Object
sets map[string]*Set
sounds map[string]*Sound
}
// New returns a new AssetStore
@@ -82,6 +83,7 @@ func (a *AssetStore) Refresh() error {
a.maps = make(map[string]*Map)
a.objs = make(map[string]*Object)
a.sets = make(map[string]*Set)
a.sounds = make(map[string]*Sound)
return nil
}