Continuing gradual process of collecting state from various GUI components and handlers and aggregating it in PlayerController.

Removed references to Refree from some handlers, replacing them with direct use of PlayerController (Law of Demeter).
This commit is contained in:
Woody Folsom
2012-04-04 15:31:27 -04:00
parent 0522f416e4
commit 0f616a3cc6
6 changed files with 176 additions and 147 deletions

View File

@@ -46,7 +46,7 @@ public class MainFrame extends JFrame {
ScorePanel sp = new ScorePanel(game);
BoardPanel bp = new BoardPanel(game);
MessagePanel mp = new MessagePanel(game);
TileSelectionPanel tp = new TileSelectionPanel(game);
TileSelectionPanel tp = new TileSelectionPanel(game.getPlayer());
// Add refreshables.
elements.add(sp);