summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/model
diff options
context:
space:
mode:
Diffstat (limited to 'src/jrummikub/model')
-rw-r--r--src/jrummikub/model/GameState.java5
-rw-r--r--src/jrummikub/model/IGameState.java3
2 files changed, 1 insertions, 7 deletions
diff --git a/src/jrummikub/model/GameState.java b/src/jrummikub/model/GameState.java
index d9f18b3..1f0ef29 100644
--- a/src/jrummikub/model/GameState.java
+++ b/src/jrummikub/model/GameState.java
@@ -37,11 +37,6 @@ public class GameState implements IGameState {
return players.size();
}
- @Override
- public IPlayer getPlayer(int i) {
- return players.get(i);
- }
-
/** Changes the activePlayer to the next {@link Player} in the list */
@Override
public void nextPlayer() {
diff --git a/src/jrummikub/model/IGameState.java b/src/jrummikub/model/IGameState.java
index df98a2c..8e64bc4 100644
--- a/src/jrummikub/model/IGameState.java
+++ b/src/jrummikub/model/IGameState.java
@@ -3,12 +3,11 @@ package jrummikub.model;
public interface IGameState {
public ITable getTable();
+
public void setTable(ITable table);
public int getPlayerCount();
- public IPlayer getPlayer(int i);
-
/** Changes the activePlayer to the next {@link Player} in the list */
public void nextPlayer();