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
This commit is contained in:
parent
c6067afb00
commit
9e8f44a810
2 changed files with 29 additions and 0 deletions
18
src/jrummikub/model/IGameState.java
Normal file
18
src/jrummikub/model/IGameState.java
Normal file
|
@ -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();
|
||||
|
||||
}
|
11
src/jrummikub/model/IPlayer.java
Normal file
11
src/jrummikub/model/IPlayer.java
Normal file
|
@ -0,0 +1,11 @@
|
|||
package jrummikub.model;
|
||||
|
||||
import java.awt.Color;
|
||||
|
||||
public interface IPlayer {
|
||||
|
||||
public IHand getHand();
|
||||
|
||||
public Color getColor();
|
||||
|
||||
}
|
Reference in a new issue