public void currentState(long state,Model currentModel){
  currentState=state;
  if (loggers != null) {
    for (    Logger logger : loggers) {
      logger.log(state);
    }
  }
}

public void currentState ( long state , Model currentModel ) { currentState = state ; if ( loggers != null ) { for ( Logger logger : loggers ) { logger . log ( state ) ; } } }
called to update the current model keepevery states .
