Package | Description |
---|---|
squidpony.squidgrid.mapping |
Tools specifically for generating maps and placing content in them, usually working with 2D char arrays.
|
Modifier and Type | Class and Description |
---|---|
static class |
Rectangle.Impl |
Modifier and Type | Field and Description |
---|---|
static Comparator<Rectangle> |
Rectangle.Utils.SIZE_COMPARATOR
A comparator that uses
Rectangle.Utils.size(Rectangle) as the measure. |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
List<Rectangle> |
RectangleRoomFinder.findRectangles() |
Modifier and Type | Method and Description |
---|---|
static Iterator<Coord> |
Rectangle.Utils.cells(Rectangle r)
Use
Rectangle.Utils.cellsList(Rectangle) if you want them all. |
static List<Coord> |
Rectangle.Utils.cellsList(Rectangle r)
Use
Rectangle.Utils.cellsList(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,
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 int |
Rectangle.Utils.size(Rectangle r) |
Modifier and Type | Method and Description |
---|---|
static boolean |
Rectangle.Utils.contains(Iterable<? extends Rectangle> rs,
Coord c) |
Copyright © 2012–2016. All rights reserved.