diff options
Diffstat (limited to '')
-rw-r--r-- | pkg/field/utils.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/field/utils.go b/pkg/field/utils.go index 4c4774c..1bd2b2b 100644 --- a/pkg/field/utils.go +++ b/pkg/field/utils.go @@ -96,3 +96,7 @@ func (f *Field) Set(x, y, v int) { } } } + +func (f Field) Dump() (int, int, int, int) { + return f.x, f.y, f.lx, f.ly +} |