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

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

	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;
	}

}