summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/control
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-05-18 17:01:10 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-05-18 17:01:10 +0200
commitb5397d5aa7f01d557a469ca0d70f3b33e1fe2c60 (patch)
tree899de9a3f0e71718ecf8f6018e2b8c347b3b93df /src/jrummikub/control
parent5169f31af06926f4c268062791f648f1fdd91656 (diff)
downloadJRummikub-b5397d5aa7f01d557a469ca0d70f3b33e1fe2c60.tar
JRummikub-b5397d5aa7f01d557a469ca0d70f3b33e1fe2c60.zip
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
Diffstat (limited to 'src/jrummikub/control')
-rw-r--r--src/jrummikub/control/RoundControl.java8
1 files changed, 4 insertions, 4 deletions
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() {