summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/model/Stone.java
blob: 47354e5f43c682a300076dfd0b454913ffeb1ff7 (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
package jrummikub.model;
/** */

public class Stone {
	private int value;
	private StoneColor color;
	private final boolean joker;
	

	public Stone(int value, StoneColor color, boolean joker) {
		this.value = value;
		this.color = color;
		this.joker = joker;
	}

	public StoneColor getColor() {
		return color;
	}

	public boolean isJoker() {
		return joker;
	}

	public int getValue() {
		return value;
	}

}