// This methods should be replaced. func (h *Grid) GetVertices(coords hexcoords.Hex) []*Vertex { if !h.WithinBounds(coords) { return nil } var vertices = make([]*Vertex, 6) for _, v := range coords.Vertices(hex.NilDirection) { vertices[v.K] = h.GetVertex(v) } return vertices }