public interface Rectangle extends Zone
Rectangle.Utils
for utility methods.How to find rectangles in a dungeon
Modifier and Type | Interface and Description |
---|---|
static class |
Rectangle.Impl |
static class |
Rectangle.Utils
Utilities pertaining to
Rectangle |
Zone.Helper, Zone.Skeleton
Modifier and Type | Method and Description |
---|---|
Coord |
getBottomLeft() |
int |
getHeight() |
int |
getWidth() |
contains, contains, contains, extend, getAll, getCenter, getDiagonal, getExternalBorder, getInternalBorder, intersectsWith, isEmpty, size, translate, translate, xBound, yBound
Coord getBottomLeft()
int getWidth()
getWidth
in interface Zone
getBottomLeft()
). It is greater or
equal than 0.int getHeight()
getHeight
in interface Zone
getBottomLeft()
). It is greater
or equal than 0.Copyright © Eben Howard 2012–2022. All rights reserved.