package jrummikub.control; import jrummikub.model.GameState; import jrummikub.model.IHand; import jrummikub.model.Player; import jrummikub.model.Position; import jrummikub.view.IView; public class RoundControl { private GameState gameState; private IView view; public RoundControl(GameState gameState, IView view) { this.gameState = gameState; this.view = view; } public void startRound() { } void deal() { for (int i = 0; i < gameState.getPlayerCount(); i++) { IHand hand = gameState.getPlayer(i).getHand(); for (int j = 0; j < 7; j++) { hand.drop(gameState.getGameHeap().drawStone(), new Position(j, 0)); hand.drop(gameState.getGameHeap().drawStone(), new Position(j, 1)); } } } private void endOfTurn() { } private void ruleCheck() { } private void resetTable() { } private void preparePlayerTurn() { } private void dealStone() { } }