From 82c58a1eae3c818274db1b29c5d539f174060835 Mon Sep 17 00:00:00 2001 From: Ida Massow Date: Sun, 8 May 2011 18:10:07 +0200 Subject: 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 --- src/jrummikub/model/GameState.java | 5 ----- src/jrummikub/model/IGameState.java | 3 +-- 2 files changed, 1 insertion(+), 7 deletions(-) (limited to 'src/jrummikub/model') 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(); -- cgit v1.2.3