diff options
Diffstat (limited to 'pkg/pointer/delta.go')
-rw-r--r-- | pkg/pointer/delta.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkg/pointer/delta.go b/pkg/pointer/delta.go new file mode 100644 index 0000000..0c3e074 --- /dev/null +++ b/pkg/pointer/delta.go @@ -0,0 +1,10 @@ +package pointer + +type Delta struct { + x int + y int +} + +func NewDelta(x, y int) *Delta { + return &Delta{x: x, y: y} +} |