diff options
Diffstat (limited to 'mock/jrummikub/model/MockPlayer.java')
-rw-r--r-- | mock/jrummikub/model/MockPlayer.java | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/mock/jrummikub/model/MockPlayer.java b/mock/jrummikub/model/MockPlayer.java new file mode 100644 index 0000000..adb9d85 --- /dev/null +++ b/mock/jrummikub/model/MockPlayer.java @@ -0,0 +1,26 @@ +package jrummikub.model; + +import java.awt.Color; + +public class MockPlayer implements IPlayer { + + public MockHand hand; + public Color color; + + // private String name; + + public MockPlayer(Color color) { + hand = new MockHand(); + this.color = color; + } + + @Override + public IHand getHand() { + return hand; + } + + @Override + public Color getColor() { + return color; + } +} |