summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/view/IView.java
blob: 25ebb32fd457b9264df38ad6236b2245852cbab5 (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 ITable getTable();

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

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