Module app

Interface Move<P extends Piece>

Type Parameters:
P -
All Known Subinterfaces:
ChessMove
All Known Implementing Classes:
Castle, CheckersMove, MinesweeperMove, NormalMove, PieceMove, PiecePick, Promotion

public interface Move<P extends Piece>
Phantom interface to ensure type correctness in higher abstraction layers.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    match(MoveMatcher<P> matcher)