Exemplo n.º 1
0
  public synchronized String getWord(Color color) {

    if (this.word.size() == 0) return "";
    else {
      /**
       * F.add(new JString(deltaX, dy*row, this.word.get(0), color), timing); wrdCnt++; if(wrdCnt%2
       * == 0){ deltaX = this.dx*(3+matrixWidth); row++; } else { deltaX+=150; }
       */
      F.searchFor(this.word.get(0), color);
      return this.word.remove(0);
    }
  }