// Implementing logic.Notalive interface func (w Wall) Break(dot *playground.Dot) { if dl := playground.DotList(w); dl.Contains(dot) { dl.Delete(dot) } }
// Implementing playground.Object interface func (w Wall) Pack() string { return playground.DotList(w).Pack() }