com.editev.chess
Class EnumeratedGame.AllMovesForPieceMoving

java.lang.Object
  |
  +--com.editev.util.Enum.Lookahead
        |
        +--com.editev.chess.EnumeratedGame.AllMovesForPieceMoving
Enclosing class:
EnumeratedGame

public class EnumeratedGame.AllMovesForPieceMoving
extends com.editev.util.Enum.Lookahead

An enumeration of all Moves for the piece in the Move.


Field Summary
 Piece piece
          the Piece that's doing the moving.
 
Fields inherited from class com.editev.util.Enum.Lookahead
next
 
Constructor Summary
EnumeratedGame.AllMovesForPieceMoving()
          create the iterator starting with a Move.
 
Method Summary
protected  void next()
          Retrieve the next move (legal or not!)
 
Methods inherited from class com.editev.util.Enum.Lookahead
hasMoreElements, nextElement
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

piece

public final Piece piece
the Piece that's doing the moving.
Constructor Detail

EnumeratedGame.AllMovesForPieceMoving

public EnumeratedGame.AllMovesForPieceMoving()
create the iterator starting with a Move.
Method Detail

next

protected void next()
Retrieve the next move (legal or not!)
Overrides:
next in class com.editev.util.Enum.Lookahead
See Also:
com.editev.util.Enum.Lookahead.