Package VASSAL.counters
Class Translate.MoveExecuter
java.lang.Object
VASSAL.counters.Translate.MoveExecuter
- All Implemented Interfaces:
Runnable
- Enclosing class:
- Translate
Batches up all the movement commands resulting from a single KeyEvent
and executes them at once. Ensures that pieces that are moving won't
be merged with other moving pieces until they've been moved.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addKeyEventTarget(GamePiece piece)
getUpdatedPosition(GamePiece target)
Return the updated position of a piece that has a move calculation recordedvoid
run()
void
void
setKeyEvent(KeyStroke stroke)
-
Constructor Details
-
MoveExecuter
public MoveExecuter()
-
-
Method Details