@Override
  public void setState(Map<String, Object> state) {
    this.state = state;
    this.showInfoArea(state);
    this.showHistoryArea(state);
    this.showFeedbackArea(state);
    this.updateMessageArea("");
    this.input = "";
    this.inputInfoArea.clear();
    this.enableClicks = false;
    currentState = (String)state.get(this.CURRENTMOVE) == null?
        "" : (String)state.get(this.CURRENTMOVE);
  }