aboutsummaryrefslogtreecommitdiff
path: root/pkg/field/utils.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/field/utils.go')
-rw-r--r--pkg/field/utils.go4
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
+}