Uses of Interface
squidpony.squidgrid.mapping.Rectangle
Package | Description |
---|---|
squidpony.squidgrid.mapping |
Tools specifically for generating maps and placing content in them, usually working with 2D char arrays.
|
-
Uses of Rectangle in squidpony.squidgrid.mapping
Classes in squidpony.squidgrid.mapping that implement Rectangle Modifier and Type Class Description static class
Rectangle.Impl
Fields in squidpony.squidgrid.mapping with type parameters of type Rectangle Modifier and Type Field Description static Comparator<Rectangle>
Rectangle.Utils. SIZE_COMPARATOR
A comparator that usesRectangle.Utils.size(Rectangle)
as the measure.Methods in squidpony.squidgrid.mapping that return Rectangle Modifier and Type Method Description Rectangle
Rectangle.Impl. extend()
static Rectangle
Rectangle.Utils. extend(Rectangle r, Direction d)
protected Rectangle
RectangleRoomFinder. extendRoom(boolean[][] assigneds, Rectangle r, Direction d)
protected Rectangle
RectangleRoomFinder. extendRoomOnce(boolean[][] assigneds, Rectangle r, Direction d)
static Rectangle
Rectangle.Utils. shrink(Rectangle r)
Creates a new Rectangle that is smaller than r by 1 cell from each of r's edges, to a minimum of a 1x1 cell.Methods in squidpony.squidgrid.mapping that return types with arguments of type Rectangle Modifier and Type Method Description List<Rectangle>
RectangleRoomFinder. findRectangles()
Methods in squidpony.squidgrid.mapping with parameters of type Rectangle Modifier and Type Method Description static Iterator<Coord>
Rectangle.Utils. cells(Rectangle r)
UseRectangle.Utils.cellsList(Rectangle)
if you want them all.static List<Coord>
Rectangle.Utils. cellsList(Rectangle r)
UseRectangle.Utils.cells(Rectangle)
if you may stop before the end of the list, you'll save some memory.static Coord
Rectangle.Utils. center(Rectangle r)
static boolean
Rectangle.Utils. contains(Rectangle r, int x, int y)
static boolean
Rectangle.Utils. contains(Rectangle r, Coord c)
static boolean
Rectangle.Utils. containsAny(Rectangle r, Collection<Coord> cs)
static Rectangle
Rectangle.Utils. extend(Rectangle r, Direction d)
protected Rectangle
RectangleRoomFinder. extendRoom(boolean[][] assigneds, Rectangle r, Direction d)
protected Rectangle
RectangleRoomFinder. extendRoomOnce(boolean[][] assigneds, Rectangle r, Direction d)
static Coord[]
Rectangle.Utils. getAll4Corners(Rectangle r, Coord[] buf)
static List<Coord>
Rectangle.Utils. getBorder(Rectangle r, Direction cardinal, List<Coord> buf)
static Coord
Rectangle.Utils. getCorner(Rectangle r, Direction dir)
static Rectangle
Rectangle.Utils. shrink(Rectangle r)
Creates a new Rectangle that is smaller than r by 1 cell from each of r's edges, to a minimum of a 1x1 cell.static int
Rectangle.Utils. size(Rectangle r)