summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/view/IView.java
blob: 8e59baae381af0393f3da789ca40bef02093a2e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package jrummikub.view;

import java.util.Collection;

import jrummikub.model.Stone;

/**
 * The top-level view interface
 */
public interface IView {
  /**
   * Returns the table
   * 
   * @return the table
   */
  public ITablePanel getTablePanel();

  /**
   * Returns the player panel
   * 
   * @return the playerPanel
   */
  public IPlayerPanel getPlayerPanel();

  /**
   * Sets the stones that are to be painted selected
   * 
   * @param stones
   *          the stones to be painted selected
   */
  public void setSelectedStones(Collection<Stone> stones);
}