Beispiel #1
0
  public void setDifficulty(byte difficulty) {
    synchronized (objectMutex) {
      this.difficulty = difficulty;
    }

    notifyObservers(messageBuilder.buildDifficultyDelta(difficulty), true);
  }