diff options
author | Ida Massow <massow@informatik.uni-luebeck.de> | 2011-05-04 23:33:24 +0200 |
---|---|---|
committer | Ida Massow <massow@informatik.uni-luebeck.de> | 2011-05-04 23:33:24 +0200 |
commit | 9e8f44a81055b15acbdd634bec7bb9a0d731d5c8 (patch) | |
tree | f6beaed7ef8a0341597b78f43fe98081e0fc92f2 /src/jrummikub | |
parent | c6067afb00586a7f650c0cdba74eb6e39282291f (diff) | |
download | JRummikub-9e8f44a81055b15acbdd634bec7bb9a0d731d5c8.tar JRummikub-9e8f44a81055b15acbdd634bec7bb9a0d731d5c8.zip |
Man sollte schon alles comitten... und der Tiger schlummert unter der Haube
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@131 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub')
-rw-r--r-- | src/jrummikub/model/IGameState.java | 18 | ||||
-rw-r--r-- | src/jrummikub/model/IPlayer.java | 11 |
2 files changed, 29 insertions, 0 deletions
diff --git a/src/jrummikub/model/IGameState.java b/src/jrummikub/model/IGameState.java new file mode 100644 index 0000000..56ab917 --- /dev/null +++ b/src/jrummikub/model/IGameState.java @@ -0,0 +1,18 @@ +package jrummikub.model; + +public interface IGameState { + + public ITable getTable(); + + public int getPlayerCount(); + + public IPlayer getPlayer(int i); + + /** Changes the activePlayer to the next {@link Player} in the list */ + public void nextPlayer(); + + public IPlayer getActivePlayer(); + + public StoneHeap getGameHeap(); + +}
\ No newline at end of file diff --git a/src/jrummikub/model/IPlayer.java b/src/jrummikub/model/IPlayer.java new file mode 100644 index 0000000..1ed0554 --- /dev/null +++ b/src/jrummikub/model/IPlayer.java @@ -0,0 +1,11 @@ +package jrummikub.model; + +import java.awt.Color; + +public interface IPlayer { + + public IHand getHand(); + + public Color getColor(); + +}
\ No newline at end of file |