Uses of Interface
squidpony.squidgrid.zone.Zone
Package | Description |
---|---|
squidpony.squidgrid.mapping |
Tools specifically for generating maps and placing content in them, usually working with 2D char arrays.
|
squidpony.squidgrid.zone |
Ways to represent different types of areas in 2D space; not recommended, most new code uses
GreasedRegion . |
squidpony.squidmath |
A very broad package containing random number generators, geometry tools, data structures, and noise functions.
|
-
Uses of Zone in squidpony.squidgrid.mapping
Subinterfaces of Zone in squidpony.squidgrid.mapping Modifier and Type Interface Description interface
Rectangle
Rectangles in 2D grids.Classes in squidpony.squidgrid.mapping that implement Zone Modifier and Type Class Description static class
Rectangle.Impl
Methods in squidpony.squidgrid.mapping that return Zone Modifier and Type Method Description Zone
Rectangle.Impl. translate(int x, int y)
-
Uses of Zone in squidpony.squidgrid.zone
Subinterfaces of Zone in squidpony.squidgrid.zone Modifier and Type Interface Description interface
ImmutableZone
Created by Tommy Ettinger on 11/24/2016.interface
MutableZone
Created by Tommy Ettinger on 11/24/2016.Classes in squidpony.squidgrid.zone that implement Zone Modifier and Type Class Description class
CoordPackerZone
A zone constructed byCoordPacker
.class
ListZone
A zone defined by aList
.static class
Zone.Skeleton
A convenience partial implementation.Methods in squidpony.squidgrid.zone that return Zone Modifier and Type Method Description Zone
ImmutableZone. expand(int distance)
Expands the area of this Zone in the four cardinal directions, performing the expansion consecutivelydistance
times.Zone
MutableZone. expand(int distance)
Expands this Zone in the four cardinal directions, performing the expansion consecutivelydistance
times.Zone
ImmutableZone. expand8way(int distance)
Expands the area of this Zone in the four cardinal and four diagonal directions, performing the expansion consecutivelydistance
times.Zone
MutableZone. expand8way(int distance)
Expands this Zone in the four cardinal and four diagonal directions, performing the expansion consecutivelydistance
times.Zone
CoordPackerZone. extend()
Zone
Zone. extend()
Gets a new Zone that contains all the Coords inthis
plus all neighboring Coords, which can be orthogonally or diagonally adjacent to any Coord this has in it.Zone
Zone.Skeleton. extend()
Zone
CoordPackerZone. translate(int x, int y)
Zone
Zone.Skeleton. translate(int x, int y)
Zone
Zone.Skeleton. translate(Coord c)
Zone
Zone. translate(int x, int y)
Zone
Zone. translate(Coord c)
Methods in squidpony.squidgrid.zone with parameters of type Zone Modifier and Type Method Description boolean
CoordPackerZone. contains(Zone other)
boolean
Zone. contains(Zone other)
boolean
Zone.Skeleton. contains(Zone other)
boolean
CoordPackerZone. intersectsWith(Zone other)
boolean
Zone. intersectsWith(Zone other)
boolean
Zone.Skeleton. intersectsWith(Zone other)
-
Uses of Zone in squidpony.squidmath
Classes in squidpony.squidmath that implement Zone Modifier and Type Class Description class
GreasedRegion
Region encoding of on/off information about areas using bitsets; uncompressed (fatty), but fast (greased lightning).Methods in squidpony.squidmath with parameters of type Zone Modifier and Type Method Description boolean
GreasedRegion. contains(Zone other)
Checks whether all Coords inother
are also present inthis
.boolean
GreasedRegion. intersectsWith(Zone other)