org.vizzini.game.boardgame.chess.action
Class ChessActionGenerator
java.lang.Object
org.vizzini.game.action.AbstractActionGenerator
org.vizzini.game.boardgame.chess.action.ChessActionGenerator
- All Implemented Interfaces:
- IActionGenerator
public class ChessActionGenerator
- extends AbstractActionGenerator
Provides an action generator for 3D chess.
- Since:
- v0.3
- Version:
- v0.3
- Author:
- Jeffrey M. Thompson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChessActionGenerator
public ChessActionGenerator()
generate
public Collection generate(IAgent agent,
IEnvironment environment,
IAdjudicator adjudicator)
- Generate the collection of legal actions using the given parameters.
- Parameters:
agent
- The agent originating the actions.environment
- Environment.adjudicator
- Adjudicator.- Since:
- v0.3
isSorted
public boolean isSorted()
- Returns:
- Return isSorted.
- Since:
- v0.3
setSorted
public void setSorted(boolean isSorted)
- Parameters:
isSorted
- The isSorted to set.- Since:
- v0.3
getActionComparator
protected Comparator getActionComparator(IChessEnvironment board)
- Returns:
- Return actionComparator.
- Since:
- v0.3
Copyright © 2007 Vizzini.org. All Rights Reserved.
|
2007.12.25.03.00.02 |