1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 package org.cb.jset;
21
22 import java.util.EventListener;
23
24 /***
25 * Interface that Board listeners must implement.
26 * <p>
27 * FIXME introduce Events??..
28 *
29 * @author jerome@coffeebreaks.org - last modified by $LastChangedBy: jerome $
30 * @version $Id: SetGameBoardListener.java 112 2004-04-14 22:25:52Z jerome $
31 */
32 public interface SetGameBoardListener extends EventListener
33 {
34 /***
35 * Called to notify that the specified cards were added to the board.
36 * @param cards the cards that were added to the board.
37 */
38 void cardsAdded(CardProperties[] cards);
39
40 /***
41 * Called to notify that the specified set was removed from the board.
42 * The set should be a {@link CardSet#isMatching() matching set}.
43 * @param set the set that was removed from the board
44 */
45 void setRemoved(CardSet set);
46 }