package uk.mgrove.ac.soton.comp1206.event;

import uk.mgrove.ac.soton.comp1206.game.GamePiece;

/**
 * The Next Piece Listener is used for listening for new pieces being provided to the game.
 */
public interface NextPieceListener {

  /**
   * Handle a new piece being received by the game
   * @param currentPiece the piece that was received
   * @param followingPiece the piece that was received for the next iteration
   */
  public void nextPiece(GamePiece currentPiece, GamePiece followingPiece);
}