Package | Description |
---|---|
squidpony.squidgrid |
Tools for working with data on a grid, including LOS and FOV; overlaps with geometry code in squidpony.squidmath .
|
Modifier and Type | Field and Description |
---|---|
protected OrderedMap<I,SpatialMap.SpatialTriple<I,E>> |
SpatialMap.itemMapping |
protected OrderedMap<Coord,SpatialMap.SpatialTriple<I,E>> |
SpatialMap.positionMapping |
Modifier and Type | Method and Description |
---|---|
SpatialMap.SpatialTriple<I,E> |
SpatialMap.randomEntry(IRNG rng) |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<SpatialMap.SpatialTriple<I,E>> |
SpatialMap.tripleIterator()
Iterates through values similar to Map.Entry, but containing a Coord, I, and E value for each entry, in insertion
order.
|
java.util.Collection<SpatialMap.SpatialTriple<I,E>> |
SpatialMap.triples()
Gets all data stored in this as a collection of values similar to Map.Entry, but containing a Coord, I, and E
value for each entry, in insertion order.
|
Modifier and Type | Method and Description |
---|---|
void |
SpatialMap.put(SpatialMap.SpatialTriple<I,E> triple)
Inserts a SpatialTriple into this SpatialMap without changing it, potentially overwriting an existing element.
|
Copyright © Eben Howard 2012–2022. All rights reserved.