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

import uk.mgrove.ac.soton.comp1206.component.GameBlock;

/**
 * The Block Clicked listener is used to handle the event when a block in a GameBoard is clicked. It passes the
 * GameBlock that was clicked in the message
 */
public interface BlockClickedListener {

    /**
     * Handle a block clicked event
     * @param block the block that was clicked
     */
    public void blockClicked(GameBlock block);
}
