public static class AStarPathUtil.Stepper extends Object
| Constructor and Description |
|---|
Stepper() |
Stepper(boolean considerDiagonals) |
| Modifier and Type | Method and Description |
|---|---|
void |
considerSteps(int x,
int y)
Should call
considerStep(int, int, int) in turn on all possible steps from the specified
coordinates. |
void |
init(com.threerings.media.util.AStarPathUtil.Info info,
AStarPathUtil.Node n) |
public void init(com.threerings.media.util.AStarPathUtil.Info info, AStarPathUtil.Node n)
public void considerSteps(int x,
int y)
considerStep(int, int, int) in turn on all possible steps from the specified
coordinates. No checking must be done as to whether the step is legal, that will be
handled later. Just enumerate all possible steps.Copyright © 2015. All rights reserved.