⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ae.java

📁 现在非常流行的手机网游的源码,可以下载来学习学习.
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
    case 9:
    }
    paramn.a(paramn.jdField_c_of_type_Int + this.jdField_c_of_type_Int, paramn.d + this.d);
    this.jdField_a_of_type_JavaUtilVector.addElement(paramn);
  }

  public final String a()
  {
    return this.jdField_a_of_type_Ae.jdField_a_of_type_JavaLangString;
  }

  public final ae a()
  {
    if ((this.g) && (this.jdField_a_of_type_Ae != null))
      return this.jdField_a_of_type_Ae.a();
    return this;
  }

  public final void b(n paramn)
  {
    this.jdField_a_of_type_JavaUtilEnumeration = this.jdField_a_of_type_JavaUtilVector.elements();
    while (true)
    {
      do
      {
        do
          if (!(this.jdField_a_of_type_JavaUtilEnumeration.hasMoreElements()))
            return;
        while (this.jdField_a_of_type_JavaUtilEnumeration.nextElement() != paramn);
        this.jdField_a_of_type_JavaUtilVector.removeElement(paramn);
      }
      while (this.jdField_e_of_type_N != paramn);
      this.jdField_e_of_type_N = null;
      a(true);
    }
  }

  public final void c(n paramn)
  {
    this.jdField_a_of_type_JavaUtilEnumeration = this.jdField_a_of_type_JavaUtilVector.elements();
    while (true)
    {
      do
        if (!(this.jdField_a_of_type_JavaUtilEnumeration.hasMoreElements()))
          return;
      while (paramn != this.jdField_a_of_type_JavaUtilEnumeration.nextElement());
      if (this.jdField_e_of_type_N != null)
        this.jdField_e_of_type_N.a(false);
      this.jdField_e_of_type_N = paramn;
      this.jdField_e_of_type_N.a(true);
    }
  }

  public final void b(boolean paramBoolean)
  {
    if (this.jdField_e_of_type_N == null)
      return;
    this.jdField_e_of_type_N.a(paramBoolean);
  }

  public final void a(String paramString1, String paramString2, byte paramByte, int paramInt)
  {
    ae localae;
    String str1 = null;
    if (paramByte > 0)
      str1 = "确定";
    String str2 = null;
    if (paramByte > 1)
      str2 = "返回";
    if ((paramString1.equals("waiting")) && (be.a() == 5))
      (localae = new ae(0, 0, 10, 10, paramString1)).jdField_b_of_type_Byte = 9;
    else
      localae = a(paramString1, paramString2, str1, str2, paramInt);
    a(localae);
  }

  public static ae a(String paramString1, String paramString2, String paramString3, String paramString4, int paramInt)
  {
    ae localae;
    am localam;
    ar localar2;
    if (paramInt == 0)
    {
      int l;
      k = n.jdField_a_of_type_JavaxMicroeditionLcduiFont.stringWidth(paramString2);
      paramInt = ((l = n.jdField_e_of_type_Int * 5) > k) ? l : k;
    }
    int k = (k = (k = (paramInt += 10) - 10) * 176) / n.g;
    ar localar1 = new ar(0, 5, k, 0, paramString2, 16777215, 1, 0);
    int i1 = 5 + localar1.jdField_b_of_type_Int + 5;
    int i2 = ((paramString3 != null) && (!("".equals(paramString3.trim())))) ? 1 : 0;
    int i3 = ((paramString4 != null) && (!("".equals(paramString4.trim())))) ? 1 : 0;
    if ((i2 != 0) || (i3 != 0))
      i1 += be.jdField_e_of_type_Byte + 5;
    (localae = new ae(0, 0, paramInt, i1, paramString1)).jdField_a_of_type_Int *= 176;
    localae.jdField_a_of_type_Int /= n.g;
    localae.jdField_b_of_type_Int *= 208;
    localae.jdField_b_of_type_Int /= n.h;
    localar1.d = (localae.d + 5);
    (localam = new am(0, 0, paramInt, i1, 0)).jdField_a_of_type_Int *= 176;
    localam.jdField_a_of_type_Int /= n.g;
    localam.jdField_b_of_type_Int *= 208;
    localam.jdField_b_of_type_Int /= n.h;
    localae.jdField_b_of_type_Byte = 9;
    localae.a(localam);
    localae.b(localar1, 2);
    if (i2 == 0)
    {
      if (i3 != 0)
        break label353:
      localar1.d -= n.jdField_a_of_type_JavaxMicroeditionLcduiFont.getHeight();
    }
    if (i2 != 0)
    {
      label353: localar2 = new ar(0, 0, 0, 0, paramString3, 16777215, 1, 0);
      localae.b(localar2, 5);
    }
    if (i3 != 0)
    {
      localar2 = new ar(0, 0, 0, 0, paramString4, 16777215, 1, 0);
      localae.b(localar2, 6);
    }
    return localae;
  }

  public final ae b()
  {
    if (this.jdField_b_of_type_Ae == null)
      return this;
    return this.jdField_b_of_type_Ae;
  }

  public final void a(String paramString1, String paramString2, bb parambb, int paramInt)
  {
    int l;
    ae localae;
    am localam;
    if (parambb == null)
      return;
    int k = n.jdField_a_of_type_JavaxMicroeditionLcduiFont.stringWidth(paramString2);
    int i1 = ((l = parambb.jdField_a_of_type_Int) > k) ? l : k;
    if (paramInt < i1)
      paramInt = i1;
    if (paramInt > 165)
      paramInt = 165;
    paramInt += 10;
    ar localar1 = new ar(0, 3, paramInt - 10, 0, paramString2, 16777215, 1, 0);
    ar localar2 = new ar(0, 0, 0, 0, "确定", 16777215, 1, 0);
    ar localar3 = new ar(0, 0, 0, 0, "返回", 16777215, 1, 0);
    int i2 = (i2 = (i2 = 2 + localar1.jdField_b_of_type_Int + 2 + parambb.jdField_b_of_type_Int + 4 + localar2.jdField_b_of_type_Int + 2 + 10) * n.h) / 208;
    (localae = new ae(0, 0, paramInt, i2, paramString1)).jdField_b_of_type_Byte = 9;
    localae.jdField_a_of_type_Int *= 176;
    localae.jdField_a_of_type_Int /= n.g;
    localae.jdField_b_of_type_Int *= 208;
    localae.jdField_b_of_type_Int /= n.h;
    (localam = new am(0, 0, localae.jdField_a_of_type_Int, localae.jdField_b_of_type_Int, 4)).jdField_a_of_type_Int *= 176;
    localam.jdField_a_of_type_Int /= n.g;
    localam.jdField_b_of_type_Int *= 208;
    localam.jdField_b_of_type_Int /= n.h;
    localae.a(localam);
    localae.b(localar3, 6);
    localae.b(localar2, 5);
    localae.b(localar1, 2);
    parambb.d = (3 + localar1.jdField_b_of_type_Int + 4);
    localae.b(parambb, 2);
    a(localae);
  }

  public final void a(String paramString, boolean paramBoolean)
  {
    if (paramString == null)
    {
      this.jdField_e_of_type_Boolean = false;
      return;
    }
    if ((!(w.jdField_c_of_type_Boolean)) && (paramString != "你正在被攻击") && (!(paramString.startsWith("您的宠物"))) && (!(paramString.startsWith("您宠物的灵魄"))))
      return;
    if (this.jdField_e_of_type_Boolean)
    {
      if (this.h)
        return;
      if (this.jdField_b_of_type_JavaLangString == paramString)
        return;
    }
    this.jdField_b_of_type_JavaLangString = paramString;
    this.jdField_e_of_type_Boolean = true;
    this.h = paramBoolean;
    this.j = 0;
    this.d = 0;
  }

  public final void b(int paramInt1, int paramInt2)
  {
    this.jdField_a_of_type_JavaUtilEnumeration = this.jdField_a_of_type_JavaUtilVector.elements();
    while (this.jdField_a_of_type_JavaUtilEnumeration.hasMoreElements())
    {
      n localn;
      (localn = (n)this.jdField_a_of_type_JavaUtilEnumeration.nextElement()).jdField_c_of_type_Int = (localn.jdField_c_of_type_Int - this.jdField_c_of_type_Int + paramInt1);
      localn.d = (localn.d - this.d + paramInt2);
    }
    if (this.jdField_a_of_type_Ae != null)
    {
      int k = this.jdField_a_of_type_Ae.jdField_c_of_type_Int - this.jdField_c_of_type_Int + paramInt1;
      int l = this.jdField_a_of_type_Ae.d - this.d + paramInt2;
      this.jdField_a_of_type_Ae.b(k, l);
    }
    this.jdField_c_of_type_Int = paramInt1;
    this.d = paramInt2;
  }

  public final n a(int paramInt1, int paramInt2)
  {
    int k = this.jdField_a_of_type_JavaUtilVector.size();
    for (int l = 0; l < k; ++l)
    {
      n localn;
      if (((localn = (n)this.jdField_a_of_type_JavaUtilVector.elementAt(l)).jdField_c_of_type_Boolean) && (((localn instanceof ab) || (localn instanceof ar))) && (localn.a(paramInt1, paramInt2)))
        return localn;
    }
    return null;
  }

  public final boolean a()
  {
    int k = this.jdField_a_of_type_JavaUtilVector.size();
    for (int l = 0; l < k; ++l)
    {
      n localn;
      if (((localn = (n)this.jdField_a_of_type_JavaUtilVector.elementAt(l)).jdField_c_of_type_Boolean) && (localn instanceof r))
        return true;
    }
    return false;
  }

  public static boolean a(int paramInt1, int paramInt2, byte paramByte)
  {
    int l;
    int k = 1;
    boolean bool = false;
    String str = "返回";
    int i1 = n.jdField_a_of_type_JavaxMicroeditionLcduiFont.stringWidth(str) + 4;
    int i2 = n.f + 2;
    switch (paramByte)
    {
    case 5:
    case 10:
      l = 5;
      break;
    case 6:
    case 11:
      l = be.d - i1 - 5;
      break;
    case 7:
    case 8:
    case 9:
    default:
      l = 0;
      k = 0;
    }
    if (k != 0)
      bool = al.a(paramInt1, paramInt2, l, 2, i1, i2);
    return bool;
  }

  public static boolean b(int paramInt1, int paramInt2, byte paramByte)
  {
    int l;
    int k = 1;
    boolean bool = false;
    String str = "返回返回";
    int i1 = n.jdField_a_of_type_JavaxMicroeditionLcduiFont.stringWidth(str) + 4;
    int i2 = n.f + 2;
    switch (paramByte)
    {
    case 5:
    case 10:
      l = 5;
      break;
    case 6:
    case 11:
      l = be.d - i1 - 5;
      break;
    case 7:
    case 8:
    case 9:
    default:
      l = 0;
      k = 0;
    }
    if (k != 0)
    {
      System.out.println("in check is in rect");
      bool = al.a(paramInt1, paramInt2, l, 2, i1, i2);
      System.out.println("is InBounds:" + bool);
    }
    return bool;
  }

  public final ar a(String paramString)
  {
    ar localar = new ar(0, 0, 0, 0, paramString, 15718814, 1, 0);
    b(localar, 5);
    return localar;
  }

  public final ar b(String paramString)
  {
    ar localar = new ar(0, 0, 0, 0, paramString, 15718814, 1, 0);
    b(localar, 6);
    return localar;
  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -