summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/model
diff options
context:
space:
mode:
authorIda Massow <massow@informatik.uni-luebeck.de>2011-05-08 18:10:07 +0200
committerIda Massow <massow@informatik.uni-luebeck.de>2011-05-08 18:10:07 +0200
commit82c58a1eae3c818274db1b29c5d539f174060835 (patch)
tree1778a2b82c596bafd4877818c936a19f73e3c0cb /src/jrummikub/model
parent8ee379b1ab5341d257637f6761aae852fabb859c (diff)
downloadJRummikub-82c58a1eae3c818274db1b29c5d539f174060835.tar
JRummikub-82c58a1eae3c818274db1b29c5d539f174060835.zip
getPlayer entfernt, weil es getNthNextPlayer gibt. Warnings beseitigt.
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@170 72836036-5685-4462-b002-a69064685172
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();