diff options
Diffstat (limited to 'shell/structs/boundary.go')
-rw-r--r-- | shell/structs/boundary.go | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/shell/structs/boundary.go b/shell/structs/boundary.go deleted file mode 100644 index b49c7a2..0000000 --- a/shell/structs/boundary.go +++ /dev/null @@ -1,36 +0,0 @@ -package structs - -type Boundary struct { - // boundary box values - x int64 - y int64 - width int64 -} - -func NewBoundary(x int64, y int64, width int64) *Boundary { - return &Boundary{x: x, y: y, width: width} -} - -func (b *Boundary) Width() int64 { - return b.width -} - -func (b *Boundary) SetWidth(width int64) { - b.width = width -} - -func (b *Boundary) Y() int64 { - return b.y -} - -func (b *Boundary) SetY(y int64) { - b.y = y -} - -func (b *Boundary) X() int64 { - return b.x -} - -func (b *Boundary) SetX(x int64) { - b.x = x -} |