public static class Adjacency.ThinWallAdjacency extends Adjacency.BasicAdjacency implements java.io.Serializable
Adjacency.BasicAdjacency, Adjacency.RotationAdjacency, Adjacency.ThinWallAdjacency
blockingRule, costRules, depths, directions, height, invertAdjacent, maxAdjacent, measurement, rotations, standardCost, twoStepRule, width
Constructor and Description |
---|
ThinWallAdjacency(int width,
int height,
Measurement metric) |
Modifier and Type | Method and Description |
---|---|
IntDoubleOrderedMap |
addCostRule(char tile,
double cost,
boolean isRotation) |
composite, extractN, extractR, extractX, extractY, isBlocked, move, neighborMaps, portal, putAllVariants, putAllVariants, resetAllVariants, validate
addCostRule, extractCoord, hasStandardCost, move, putAllVariants, putAllVariants, resetAllVariants, resetAllVariants, show, showMap
public ThinWallAdjacency(int width, int height, Measurement metric)
public IntDoubleOrderedMap addCostRule(char tile, double cost, boolean isRotation)
addCostRule
in class Adjacency.BasicAdjacency
Copyright © Eben Howard 2012–2022. All rights reserved.