protected Logic(int width, int height, Vector2D[] homeSquares) { Board = new Board(width, height); this.homeSquares = homeSquares; availableColorFinder = new AvailableColorFinder(Board, homeSquares); turns = new int[homeSquares.Length]; }
protected Logic(Board.Data boardData, Vector2D[] homeSquares) { Board = new Board(boardData); this.homeSquares = homeSquares; availableColorFinder = new AvailableColorFinder(Board, homeSquares); turns = new int[homeSquares.Length]; }