private WordFinder(SearchType t)
    {            
        this._SearchType = t;
        this.setPriority(Thread.MIN_PRIORITY);
        
        for (int i = 0; i < 15; i++)
        {
            for (int k = 0; k < 15; k++)
            {                     
                Color c;
                
                switch (this._SearchType)
                {
                    case Horizontal:
                        this.BoardLetters[i][k] = WordFinder._ScrabbleGame.let[i][k];
                        c = WordFinder._ScrabbleGame.tileColors[i][k];
                        break;
                    default:
                        this.BoardLetters[i][k] = WordFinder._ScrabbleGame.let[k][i];
                        c = WordFinder._ScrabbleGame.tileColors[k][i];
                        break;
                }
                
                if (c == null) this.Tiles[i][k] = TileType.None;
                else if (c.equals(Color.BLUE)) this.Tiles[i][k] = TileType.LetterDouble;
                else if (c.equals(Color.GREEN)) this.Tiles[i][k] = TileType.LetterTriple;
                else if (c.equals(Color.RED)) this.Tiles[i][k] = TileType.WordDouble;
                else if (c.equals(Color.ORANGE)) this.Tiles[i][k] = TileType.WordTriple;
                else this.Tiles[i][k] = TileType.None;                
                
            }
        }
        
        this.HandInput = WordFinder._ScrabbleGame.input.getText();
        this.isWWF = WordFinder._ScrabbleGame.getDictType() == Dictionary.DictType.WWF;
    }