package pad type move struct { x, y int } func newMove(x1, x2, y1, y2 int) *move { return &move{ x: x2 - x1, y: y2 - y1, } }