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
This commit is contained in:
parent
8ee379b1ab
commit
82c58a1eae
6 changed files with 32 additions and 30 deletions
|
@ -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() {
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
Reference in a new issue