visidor/src/main/java/cz/xelfi/quoridor/visidor/BoardListener.java
changeset 255 9ecd02d694cd
child 266 15fcdfc4cd4a
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/visidor/src/main/java/cz/xelfi/quoridor/visidor/BoardListener.java	Sun Sep 05 22:34:43 2010 +0200
     1.3 @@ -0,0 +1,20 @@
     1.4 +/*
     1.5 + * To change this template, choose Tools | Templates
     1.6 + * and open the template in the editor.
     1.7 + */
     1.8 +
     1.9 +package cz.xelfi.quoridor.visidor;
    1.10 +
    1.11 +import java.util.EventListener;
    1.12 +
    1.13 +/** Channel referring back what happens in a {@link BoardPane}.
    1.14 + *
    1.15 + * @author Jaroslav Tulach <jtulach@netbeans.org>
    1.16 + */
    1.17 +public interface BoardListener extends EventListener {
    1.18 +    /** Notifies listeners about a change in the {@link BoardPane}.
    1.19 +     * 
    1.20 +     * @param ev the event, usually next move applicable to the board
    1.21 +     */
    1.22 +    public void boardChanged(BoardEvent ev);
    1.23 +}