Пример #1
1
  public static Code mkComandoParam(String param, int type) {
    Comando c = new Comando();

    switch (type) {
      case 0:
        c.inside("andar_frente_seg");
        break;
      case 1:
        c.inside("abrir_garra_ang");
        break;
    }
    c.setParam(param);
    return c;
  }