Module app

Interface Spectator<M extends Move<P>,P extends Piece>

All Known Implementing Classes:
DumbPlayer, HotSeatPlayer, PieceSocket, PieceSpectator, StandalonePiecePlayer

public interface Spectator<M extends Move<P>,P extends Piece>
Spectator that receives information about moves done by players
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    update(int player, M move, List<P> changedPieces)
    Receive information that player made a move
  • Method Details

    • update

      void update(int player, M move, List<P> changedPieces)
      Receive information that player made a move