From b5397d5aa7f01d557a469ca0d70f3b33e1fe2c60 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Wed, 18 May 2011 17:01:10 +0200 Subject: Move some static player data to a player settings class git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@252 72836036-5685-4462-b002-a69064685172 --- src/jrummikub/control/RoundControl.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/jrummikub/control') diff --git a/src/jrummikub/control/RoundControl.java b/src/jrummikub/control/RoundControl.java index 07adb99..9b746d1 100644 --- a/src/jrummikub/control/RoundControl.java +++ b/src/jrummikub/control/RoundControl.java @@ -72,13 +72,13 @@ public class RoundControl { clonedTable = (ITable) gameState.getTable().clone(); view.enableStartTurnPanel(true); view.getTablePanel().setStoneSets(clonedTable); - view.setCurrentPlayerName(gameState.getActivePlayer().getName()); + view.setCurrentPlayerName(gameState.getActivePlayer().getPlayerSettings().getName()); view.getTablePanel().setLeftPlayerName( - gameState.getNthNextPlayer(1).getName()); + gameState.getNthNextPlayer(1).getPlayerSettings().getName()); view.getTablePanel().setTopPlayerName( - gameState.getNthNextPlayer(2).getName()); + gameState.getNthNextPlayer(2).getPlayerSettings().getName()); view.getTablePanel().setRightPlayerName( - gameState.getNthNextPlayer(3).getName()); + gameState.getNthNextPlayer(3).getPlayerSettings().getName()); } private void startTurn() { -- cgit v1.2.3