VASSAL.counters
Class PieceFinder.StackOnly

java.lang.Object
  |
  +--VASSAL.counters.PieceFinder.Movable
        |
        +--VASSAL.counters.PieceFinder.StackOnly
All Implemented Interfaces:
DeckVisitor, PieceFinder, PieceVisitor
Enclosing class:
PieceFinder

public static class PieceFinder.StackOnly
extends PieceFinder.Movable


Inner classes inherited from class VASSAL.counters.PieceFinder
PieceFinder.Movable, PieceFinder.PieceInStack, PieceFinder.StackOnly
 
Fields inherited from class VASSAL.counters.PieceFinder.Movable
dispatcher, map, pt, shapes
 
Fields inherited from interface VASSAL.counters.PieceFinder
MOVABLE, PIECE_IN_STACK, STACK_ONLY
 
Constructor Summary
PieceFinder.StackOnly()
           
 
Method Summary
 java.lang.Object visitDefault(GamePiece piece)
          GamePieces that are not handled by one of the type-specific methods (e.g.
 java.lang.Object visitStack(Stack s)
          Perform the operation on a Stack
 
Methods inherited from class VASSAL.counters.PieceFinder.Movable
select, visitDeck
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PieceFinder.StackOnly

public PieceFinder.StackOnly()
Method Detail

visitDefault

public java.lang.Object visitDefault(GamePiece piece)
Description copied from interface: PieceVisitor
GamePieces that are not handled by one of the type-specific methods (e.g. PieceVisitor.visitStack(VASSAL.counters.Stack)) are handled here
Overrides:
visitDefault in class PieceFinder.Movable

visitStack

public java.lang.Object visitStack(Stack s)
Description copied from interface: PieceVisitor
Perform the operation on a Stack
Overrides:
visitStack in class PieceFinder.Movable