@Override
 public synchronized String toString() {
   StringBuffer sbuff = new StringBuffer();
   sbuff.append("{" + Game.getGame().getActualTime() + "}");
   sbuff.append("\n");
   for (Accident accident : getStack()) {
     sbuff.append(accident.toString());
     sbuff.append("\n");
   }
   return sbuff.toString();
 }
  @Override
  public void doAccident(List<Command> commands) {
    if (mini instanceof MiniModificable) {
      org.apache.log4j.Logger.getLogger(StateClearAccident.class)
          .info("Se elimina el estado[" + this.getState() + "] del mini[" + this.mini + "]");
      MiniModificable miniModificable = (MiniModificable) mini;
      miniModificable.removeState(this.getState());
      Game.getGame().getActivationStack().clearState(this.getState());
      commands.add(new ClearStateCommand(this.getState(), this.getMini()));

    } else {
      org.apache.log4j.Logger.getLogger(StateClearAccident.class)
          .error("El mini [] no es de un tipo que soporta estados");
    }
  }