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 LinkedHashMap<I,SpatialMap.SpatialTriple<I,E>> |
SpatialMap.itemMapping |
protected LinkedHashMap<Coord,SpatialMap.SpatialTriple<I,E>> |
SpatialMap.positionMapping |
Modifier and Type | Method and Description |
---|---|
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.
|
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 © 2012–2016. All rights reserved.