Interface StepChecker
raft.kilavuz.grid
All Known Implementing Classes:

public interface StepChecker
used to spot reachable cells in grid. FloodFill class organizes floodfill process delegating actual reachability checking to this interface.
See Also:
FloodFill

Method Summary
canJumpTo(Vector3 from, Vector3 direction)
checks if unit can jump in given direction.
canStepTo(Vector3 from, Vector3 direction)
checks if unit can move in given direction.
Method Detail
canStepTo
Step canStepTo(Vector3 from,
               Vector3 direction)
checks if unit can move in given direction.
Parameters:
from - the place on ground at current position
direction - the direction to move, y value is irrelevant
Returns:
step to reach that cell, or null cell is not reachable.

canJumpTo
Step canJumpTo(Vector3 from,
               Vector3 direction)
checks if unit can jump in given direction.
Parameters:
from - the place on ground at current position
direction - the direction to move, y value is irrelevant
Returns:
step to reach that cell, or null cell is not reachable.
Java API documentation generated with DocFlex/Doclet v1.5.2
DocFlex/Doclet is both a multi-format Javadoc doclet and a free edition of DocFlex/Javadoc. If you need to customize your Javadoc without writing a full-blown doclet from scratch, DocFlex/Javadoc may be the only tool able to help you! Find out more at www.docflex.com