func (h *HouseDef) Save(path string) { base.SaveJson(path, h) }
func (he *HouseEditor) Save() (string, error) { path := filepath.Join(datadir, "houses", he.house.Name+".house") err := base.SaveJson(path, he.house) return path, err }
func (rep *RoomEditorPanel) Save() (string, error) { path := filepath.Join(datadir, "rooms", rep.room.Name+".room") err := base.SaveJson(path, rep.room) return path, err }