us.asciiroth.client.board
Interface CellVisitor


public interface CellVisitor

A visitor that is used to examine cells on the board through a number of methods on the Board object. If the visit method returns a cell, the visitor search will immediately return that cell and end, otherwise, it continues.


Method Summary
 boolean visit(Cell cell, int range)
          Visit this cell.
 

Method Detail

visit

boolean visit(Cell cell,
              int range)
Visit this cell. Returning true will cause the visit method to immediately return this cell to the caller.

Parameters:
cell -
Returns:
false to abort visit.

0.7

2009 Alx Dark