author | Jaroslav Tulach <jaroslav.tulach@apidesign.org> |
Tue, 14 Sep 2010 09:46:43 +0200 | |
changeset 266 | 15fcdfc4cd4a |
parent 255 | 9ecd02d694cd |
permissions | -rw-r--r-- |
jaroslav@266 | 1 |
/** |
jaroslav@266 | 2 |
* Quoridor server and related libraries |
jaroslav@266 | 3 |
* Copyright (C) 2009-2010 Jaroslav Tulach <jaroslav.tulach@apidesign.org> |
jaroslav@266 | 4 |
* |
jaroslav@266 | 5 |
* This program is free software: you can redistribute it and/or modify |
jaroslav@266 | 6 |
* it under the terms of the GNU General Public License as published by |
jaroslav@266 | 7 |
* the Free Software Foundation, either version 3 of the License. |
jaroslav@266 | 8 |
* |
jaroslav@266 | 9 |
* This program is distributed in the hope that it will be useful, |
jaroslav@266 | 10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
jaroslav@266 | 11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
jaroslav@266 | 12 |
* GNU General Public License for more details. |
jaroslav@266 | 13 |
* |
jaroslav@266 | 14 |
* You should have received a copy of the GNU General Public License |
jaroslav@266 | 15 |
* along with this program. Look for COPYING file in the top folder. |
jaroslav@266 | 16 |
* If not, see http://www.gnu.org/licenses/. |
jaroslav@255 | 17 |
*/ |
jaroslav@255 | 18 |
|
jaroslav@266 | 19 |
|
jaroslav@255 | 20 |
package cz.xelfi.quoridor.visidor; |
jaroslav@255 | 21 |
|
jaroslav@255 | 22 |
import java.util.EventListener; |
jaroslav@255 | 23 |
|
jaroslav@255 | 24 |
/** Channel referring back what happens in a {@link BoardPane}. |
jaroslav@255 | 25 |
* |
jaroslav@255 | 26 |
* @author Jaroslav Tulach <jtulach@netbeans.org> |
jaroslav@255 | 27 |
*/ |
jaroslav@255 | 28 |
public interface BoardListener extends EventListener { |
jaroslav@255 | 29 |
/** Notifies listeners about a change in the {@link BoardPane}. |
jaroslav@255 | 30 |
* |
jaroslav@255 | 31 |
* @param ev the event, usually next move applicable to the board |
jaroslav@255 | 32 |
*/ |
jaroslav@255 | 33 |
public void boardChanged(BoardEvent ev); |
jaroslav@255 | 34 |
} |