Esempio n. 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
 }
Esempio n. 2
0
 public void resetScore() {
   scoreText.setText(0 + "");
   scoreText.paintImmediately(scoreText.getVisibleRect());
 }