visidor/src/main/java/cz/xelfi/quoridor/visidor/BoardListener.java
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Sun, 05 Sep 2010 22:34:43 +0200
changeset 255 9ecd02d694cd
child 266 15fcdfc4cd4a
permissions -rw-r--r--
Official API for BoardPane with listener to react to user gestures.
     1 /*
     2  * To change this template, choose Tools | Templates
     3  * and open the template in the editor.
     4  */
     5 
     6 package cz.xelfi.quoridor.visidor;
     7 
     8 import java.util.EventListener;
     9 
    10 /** Channel referring back what happens in a {@link BoardPane}.
    11  *
    12  * @author Jaroslav Tulach <jtulach@netbeans.org>
    13  */
    14 public interface BoardListener extends EventListener {
    15     /** Notifies listeners about a change in the {@link BoardPane}.
    16      * 
    17      * @param ev the event, usually next move applicable to the board
    18      */
    19     public void boardChanged(BoardEvent ev);
    20 }