Beispiel #1
0
 public void showWord(String word, java.util.List<BoardCell> letterLocations, IPlayer player) {
   myWordList.add(word);
   scoreText.setText(player.getScore() + "");
   scoreText.paintImmediately(scoreText.getVisibleRect());
   myWordList.paintImmediately(myWordList.getVisibleRect());
   // myBoardPanel.highlightDice(letterLocations);
   wordEntryField.clear(); // clear the wordEntryField text
 }