From 45656861ab2e618938764f0c46f830184099a71d Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 19 Jun 2011 19:46:06 +0200 Subject: Added NetworkRoundControlTest and started NetworkRoundControl and NetworkTurnControl implementation git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@491 72836036-5685-4462-b002-a69064685172 --- src/jrummikub/view/IView.java | 2 +- src/jrummikub/view/impl/PlayerPanel.java | 2 +- src/jrummikub/view/impl/View.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/jrummikub/view') diff --git a/src/jrummikub/view/IView.java b/src/jrummikub/view/IView.java index cb4846d..03bddb5 100644 --- a/src/jrummikub/view/IView.java +++ b/src/jrummikub/view/IView.java @@ -294,7 +294,7 @@ public interface IView { /** */ HUMAN_HAND_PANEL, /** */ - COMPUTER_HAND_PANEL, + NONHUMAN_HAND_PANEL, /** */ WIN_PANEL } diff --git a/src/jrummikub/view/impl/PlayerPanel.java b/src/jrummikub/view/impl/PlayerPanel.java index cfb858f..e557842 100644 --- a/src/jrummikub/view/impl/PlayerPanel.java +++ b/src/jrummikub/view/impl/PlayerPanel.java @@ -329,7 +329,7 @@ class PlayerPanel extends JPanel implements IPlayerPanel { sortByRunsButton.setEnabled(enable); if (!enable) { setEndTurnMode(TurnMode.NORMAL_TURN); - endTurnButton.setText("
Computer denkt nach"); + endTurnButton.setText("
Spieler denkt nach"); hand.setStones(Collections.> emptyList()); handRowDownButton.setForeground(Color.GRAY); handRowDownButton.setEnabled(false); diff --git a/src/jrummikub/view/impl/View.java b/src/jrummikub/view/impl/View.java index 4911de0..dee5352 100644 --- a/src/jrummikub/view/impl/View.java +++ b/src/jrummikub/view/impl/View.java @@ -569,7 +569,7 @@ public class View extends JFrame implements IView { } playerPanel.showButtons(type != BottomPanelType.START_GAME_PANEL); - playerPanel.enableButtons(type != BottomPanelType.COMPUTER_HAND_PANEL); + playerPanel.enableButtons(type != BottomPanelType.NONHUMAN_HAND_PANEL); } @Override -- cgit v1.2.3