VASSAL.counters
Class KeyBuffer
java.lang.Object
|
+--VASSAL.counters.KeyBuffer
- public class KeyBuffer
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
init
public static void init(KeyBuffer kb)
getBuffer
public static KeyBuffer getBuffer()
add
public void add(GamePiece p)
clear
public void clear()
remove
public void remove(GamePiece p)
contains
public boolean contains(GamePiece p)
isEmpty
public boolean isEmpty()
keyCommand
public Command keyCommand(javax.swing.KeyStroke stroke)
getPieces
public java.util.Enumeration getPieces()
sort
public void sort(java.util.Comparator comp)
containsChild
public boolean containsChild(Stack stack)
- Parameters:
stack - - Returns:
- true if a child of the specified Stack is selected