|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.vizzini.game.boardgame.chess.SliderTokenSupport
public class SliderTokenSupport
Provides convenience methods for slider tokens.
Method Summary | |
---|---|
static SliderTokenSupport |
getInstance()
Return the singleton instance. |
void |
markBiaxialPositions(IChessEnvironment board,
BitSet bitSet,
IntegerPosition position)
Mark all possible biaxial positions from the given position in the given bitset. |
void |
markTriaxialPositions(IChessEnvironment board,
BitSet bitSet,
IntegerPosition position)
Mark all possible triaxial positions from the given position in the given bitset. |
void |
markUniaxialPositions(IChessEnvironment board,
BitSet bitSet,
IntegerPosition position)
Mark all possible uniaxial positions from the given position in the given bitset. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static SliderTokenSupport getInstance()
public void markBiaxialPositions(IChessEnvironment board, BitSet bitSet, IntegerPosition position)
board
- Chess environment.bitSet
- Bitset.position
- Token position.public void markTriaxialPositions(IChessEnvironment board, BitSet bitSet, IntegerPosition position)
board
- Chess environment.bitSet
- Bitset.position
- Token position.public void markUniaxialPositions(IChessEnvironment board, BitSet bitSet, IntegerPosition position)
board
- Chess environment.bitSet
- Bitset.position
- Token position.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |