Official API for BoardPane with listener to react to user gestures.
2 * To change this template, choose Tools | Templates
3 * and open the template in the editor.
6 package cz.xelfi.quoridor.visidor;
8 import cz.xelfi.quoridor.Move;
9 import java.util.EventObject;
11 /** Event describing what happens in {@link BoardPane}.
13 * @author Jaroslav Tulach <jtulach@netbeans.org>
15 public final class BoardEvent extends EventObject {
16 private final Move move;
18 BoardEvent(BoardPane p, Move m) {
23 /** The move that describes recent user gesture on the {@link BoardPane}.
25 * @return the move or null, if this event does not describe a move
27 public Move getMove() {