// GobDecode implements gob.GobDecoder.
GobDecode implements gob.GobDecoder.
// GobDecode implements gob . GobDecoder .
func (gd *Grid) GobDecode(bs []byte) error {
	r := bytes.NewReader(bs)
	gdec := gob.NewDecoder(r)
	igd := &innerGrid{}
	err := gdec.Decode(igd)
	if err != nil {
		return err
	}
	gd.innerGrid = *igd
	return nil
}
func ( gd * Grid ) GobDecode ( bs [ ] byte ) error { r := bytes . NewReader ( bs ) gdec := gob . NewDecoder ( r ) igd := & innerGrid { } err := gdec . Decode ( igd ) if err != nil { return err } gd . innerGrid = * igd return nil }
GobDecode implements gob.GobDecoder.
GobDecode implements gob . GobDecoder .