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
This commit is contained in:
parent
9b7aac51f5
commit
45656861ab
17 changed files with 508 additions and 130 deletions
|
@ -294,7 +294,7 @@ public interface IView {
|
|||
/** */
|
||||
HUMAN_HAND_PANEL,
|
||||
/** */
|
||||
COMPUTER_HAND_PANEL,
|
||||
NONHUMAN_HAND_PANEL,
|
||||
/** */
|
||||
WIN_PANEL
|
||||
}
|
||||
|
|
|
@ -329,7 +329,7 @@ class PlayerPanel extends JPanel implements IPlayerPanel {
|
|||
sortByRunsButton.setEnabled(enable);
|
||||
if (!enable) {
|
||||
setEndTurnMode(TurnMode.NORMAL_TURN);
|
||||
endTurnButton.setText("<html><center>Computer denkt nach");
|
||||
endTurnButton.setText("<html><center>Spieler denkt nach");
|
||||
hand.setStones(Collections.<Pair<Stone, Position>> emptyList());
|
||||
handRowDownButton.setForeground(Color.GRAY);
|
||||
handRowDownButton.setEnabled(false);
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in a new issue