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

📄 aq.java

📁 现在非常流行的手机网游的源码,可以下载来学习学习.
💻 JAVA
📖 第 1 页 / 共 4 页
字号:
          if (j.a(this.jdField_b_of_type_Array2dOfInt[2][1], this.jdField_b_of_type_Array2dOfInt[2][0]))
            break label2544:
          this.l -= bj.jdField_a_of_type_Array2dOfByte[this.u][2];
          this.m -= bj.jdField_a_of_type_Array2dOfByte[this.u][3];
          return false;
        }
      }
    }
    label2544: z();
    return false;
  }

  public final String toString()
  {
    String[] arrayOfString = { "UP", "DOWN", "LEFT", "RIGHT", "OTHER" };
    String str = "Direction = ";
    switch (this.jdField_t_of_type_Byte)
    {
    case 1:
      str = str + arrayOfString[0];
      break;
    case 2:
      str = str + arrayOfString[1];
      break;
    case 3:
      str = str + arrayOfString[2];
      break;
    case 4:
      str = str + arrayOfString[3];
      break;
    default:
      str = str + arrayOfString[4];
    }
    return (str = str + " " + this.jdField_q_of_type_Byte);
  }

  public static void a(int paramInt1, int paramInt2)
  {
    if ((((paramInt1 < 0) ? 1 : 0) | ((paramInt1 >= 9) ? 1 : 0)) != 0)
      return;
    if ((((paramInt2 < -1) ? 1 : 0) | ((paramInt2 > 17) ? 1 : 0)) != 0)
      return;
    jdField_b_of_type_ArrayOfByte[paramInt1] = (byte)paramInt2;
    jdField_a_of_type_ArrayOfBoolean[paramInt1] = false;
  }

  private static void A()
  {
    jdField_b_of_type_ArrayOfByte = null;
    jdField_a_of_type_ArrayOfBoolean = null;
    jdField_b_of_type_ArrayOfByte = al.a(a().c + "sc");
    if ((jdField_b_of_type_ArrayOfByte == null) || (jdField_b_of_type_ArrayOfByte.length != 9))
    {
      jdField_b_of_type_ArrayOfByte = new byte[9];
      jdField_b_of_type_ArrayOfByte[0] = 0;
      for (int i = 1; i < 9; ++i)
        jdField_b_of_type_ArrayOfByte[i] = -1;
    }
    jdField_a_of_type_ArrayOfBoolean = new boolean[9];
    jdField_a_of_type_ArrayOfBoolean[0] = true;
  }

  private void B()
  {
    if ((this.jdField_q_of_type_Byte == 5) || (this.jdField_q_of_type_Byte == 4))
      return;
    for (int i = 0; i < j.jdField_a_of_type_Array2dOfInt.length; ++i)
    {
      if (j.jdField_a_of_type_Array2dOfInt[i][0] == -1)
        return;
      if ((j.jdField_a_of_type_Array2dOfInt[i][1] == this.n) && (j.jdField_a_of_type_Array2dOfInt[i][0] == this.jdField_o_of_type_Int))
      {
        this.jdField_a_of_type_Boolean = false;
        j.jdField_a_of_type_Byte = (byte)i;
        b(0);
        be.jdField_a_of_type_Ba.a(536871168);
        a(false);
        be.jdField_a_of_type_Be.b(8);
        be.jdField_a_of_type_Be.c(3);
        return;
      }
    }
  }

  public static void f()
  {
    jdField_a_of_type_Aq = null;
  }

  private static void C()
  {
    aq localaq;
    (localaq = a()).f = localaq.d;
    localaq.jdField_h_of_type_Int = localaq.e;
    localaq.jdField_g_of_type_Int = localaq.d;
  }

  public static void g()
  {
    a();
    C();
  }

  private static void a(bj parambj)
  {
    for (int i = 0; i < jdField_b_of_type_ArrayOfByte.length; ++i)
    {
      int j;
      if ((j = jdField_b_of_type_ArrayOfByte[i]) >= 0)
      {
        short[] arrayOfShort;
        if (j > 14)
          break label117:
        int k = (arrayOfShort = a(parambj.jdField_g_of_type_Byte, j))[5];
        label117: if ((j != 0) && (k != 0) && (jdField_a_of_type_ArrayOfLong[j] != 0L))
          if (System.currentTimeMillis() - jdField_a_of_type_ArrayOfLong[j] < 0L)
          {
            be.f();
          }
          else
          {
            if ((System.currentTimeMillis() - jdField_a_of_type_ArrayOfLong[j]) / 1000L < k)
              break label117:
            jdField_a_of_type_ArrayOfBoolean[i] = true;
            jdField_a_of_type_ArrayOfLong[j] = 0L;
          }
      }
    }
  }

  private static boolean a(bj parambj, int paramInt)
  {
    short[] arrayOfShort;
    if ((paramInt > 14) || (paramInt < 0))
      return false;
    int i = (arrayOfShort = a(parambj.jdField_g_of_type_Byte, paramInt))[5];
    if ((paramInt != 0) && (i != 0))
    {
      if (jdField_a_of_type_ArrayOfLong[paramInt] == 0L)
        return true;
      if ((System.currentTimeMillis() - jdField_a_of_type_ArrayOfLong[paramInt]) / 1000L < i)
        return false;
      System.out.println("skillCDCheck err");
      return false;
    }
    return true;
  }

  public static void a(bj parambj, int paramInt)
  {
    short[] arrayOfShort;
    if ((paramInt > 14) || (paramInt < 0))
      return;
    int i = (arrayOfShort = a(parambj.jdField_g_of_type_Byte, paramInt))[5];
    if ((paramInt != 0) && (i != 0) && (jdField_a_of_type_ArrayOfLong[paramInt] == 0L))
      jdField_a_of_type_ArrayOfLong[paramInt] = System.currentTimeMillis();
  }

  private boolean a(bj parambj1, bj parambj2, int paramInt, boolean paramBoolean)
  {
    short[] arrayOfShort;
    int i = (arrayOfShort = a(parambj1.jdField_g_of_type_Byte, paramInt))[1];
    if ((paramBoolean) && (this.w != bi.jdField_a_of_type_Bj.c))
      return false;
    if ((((parambj2 == null) || (parambj2.jdField_h_of_type_Byte == 3) || (parambj2.jdField_h_of_type_Byte == 5))) && (i != 6) && (i != 4))
      return false;
    if (arrayOfShort[0] != 3)
      return false;
    switch (i)
    {
    case 1:
      break;
    case 2:
      if (al.a(parambj1, parambj2))
        return false;
      if ((parambj2.jdField_q_of_type_Byte != 5) && (parambj2.jdField_q_of_type_Byte != 4))
        break label289;
      return false;
    case 3:
      if (parambj1 == parambj2)
        return false;
      if (al.a(parambj1, parambj2))
        return false;
      if ((parambj2.jdField_q_of_type_Byte == 5) || (parambj2.jdField_q_of_type_Byte == 4))
      {
        if ((((parambj1.jdField_g_of_type_Byte == 3) || (parambj1.jdField_g_of_type_Byte == 4))) && (paramInt == 13))
          break label289:
        return false;
      }
      if (((parambj1.jdField_g_of_type_Byte != 3) && (parambj1.jdField_g_of_type_Byte != 4)) || (paramInt != 13))
        break label289;
      return false;
    case 4:
      break;
    case 5:
      if (al.a(parambj1, parambj2))
        return false;
      if ((parambj2.jdField_q_of_type_Byte != 5) && (parambj2.jdField_q_of_type_Byte != 4))
        break label289;
      return false;
    case 6:
      break;
    case 7:
      if (al.a(parambj1, parambj2))
        break label289;
      return false;
    case 8:
      return false;
    }
    label289: return true;
  }

  public final int a(int paramInt)
  {
    short[] arrayOfShort;
    int i;
    if ((paramInt < 1) || (paramInt > 14))
      return 0;
    if ((arrayOfShort = a(this.jdField_g_of_type_Byte, paramInt)) == null)
      return 0;
    return (i = (i = arrayOfShort[3]) + jdField_a_of_type_ArrayOfByte[(paramInt - 1)] * arrayOfShort[6]);
  }

  public final boolean a()
  {
    return (this.jdField_a_of_type_Int != -1);
  }

  public final void h()
  {
    this.jdField_a_of_type_Int = -1;
    if ((this.jdField_q_of_type_Byte != 5) && (this.jdField_q_of_type_Byte != 4))
      b(0);
  }

  public final void d(int paramInt)
  {
    this.jdField_a_of_type_Int = paramInt;
    b(1);
  }

  private void D()
  {
    if (this.jdField_a_of_type_Int == -1)
      return;
    if (this.jdField_q_of_type_Byte != 5)
      c();
  }

  public final void a(boolean paramBoolean)
  {
    this.jdField_b_of_type_Boolean = paramBoolean;
    byte b1 = (this.jdField_b_of_type_Boolean) ? 1 : 0;
    b(b1);
  }

  private boolean g()
  {
    int i = 1;
    if (be.a(1))
    {
      this.jdField_b_of_type_Byte = 1;
    }
    else if (be.a(2))
    {
      this.jdField_b_of_type_Byte = 2;
    }
    else if (be.a(3))
    {
      this.jdField_b_of_type_Byte = 3;
    }
    else if (be.a(4))
    {
      this.jdField_b_of_type_Byte = 4;
    }
    else if (be.a(5))
    {
      i = 1;
      this.jdField_b_of_type_Byte = 5;
    }
    else if (be.a(6))
    {
      this.jdField_b_of_type_Byte = 6;
    }
    else if (be.a(7))
    {
      this.jdField_b_of_type_Byte = 7;
    }
    else if (be.a(8))
    {
      this.jdField_b_of_type_Byte = 8;
    }
    else
    {
      i = 0;
    }
    this.w = bi.jdField_a_of_type_Bj.c;
    return i;
  }

  private boolean b(int paramInt)
  {
    if (be.jdField_g_of_type_Boolean)
      return false;
    if (this.jdField_q_of_type_Byte == 7)
      return false;
    if (jdField_a_of_type_ArrayOfBoolean[paramInt] != 0)
    {
      if (jdField_b_of_type_ArrayOfByte[this.jdField_b_of_type_Byte] > 14)
      {
        this.p = -1;
        for (int i = 0; i < jdField_b_of_type_ArrayOfByte.length; ++i)
          if (jdField_b_of_type_ArrayOfByte[i] > 14)
            jdField_a_of_type_ArrayOfBoolean[i] = false;
        jdField_a_of_type_Short = 300;
        b.jdField_a_of_type_Short = (short)(jdField_b_of_type_ArrayOfByte[this.jdField_b_of_type_Byte] - 14);
        be.ab = 0;
        be.jdField_a_of_type_Ba.a(67110144);
        return false;
      }
      this.p = jdField_b_of_type_ArrayOfByte[this.jdField_b_of_type_Byte];
      if (this.p == 0)
      {
        bj localbj2;
        bj localbj1 = bi.jdField_a_of_type_Bj;
        if ((bi.jdField_a_of_type_Bj == this) || (bi.jdField_a_of_type_Bj == null) || (bi.jdField_a_of_type_Bj.jdField_h_of_type_Byte == 3) || ((bi.jdField_a_of_type_Bj.jdField_h_of_type_Byte == 1) && (bi.jdField_a_of_type_Bj.jdField_j_of_type_Byte == this.jdField_j_of_type_Byte) && (bi.jdField_a_of_type_Bj != this.jdField_a_of_type_Bj)))
          if ((localbj2 = a(this, 25, 24)) != null)
          {
            bi.a();
            bi.b(localbj2);
          }
        if ((localbj2 = bi.jdField_a_of_type_Bj) == localbj1)
        {
          if ((localbj2 == null) || (localbj2 == this))
          {
            this.p = 0;
            b(2);
            break label496:
          }
          if (localbj2.jdField_h_of_type_Byte == 3)
          {
            be.jdField_g_of_type_Boolean = true;
            be.jdField_t_of_type_Int = bi.jdField_a_of_type_Bj.c;
            be.jdField_a_of_type_Be.b(3);
            be.i(100);
            be.jdField_j_of_type_Int = 0;
            be.jdField_a_of_type_Be.e();
            be.jdField_a_of_type_Ba.a(150994944);
            break label496:
          }
          if (localbj2.jdField_h_of_type_Byte == 2)
          {
            this.p = 0;
            if (a(this, 25, 24, bi.jdField_a_of_type_Bj))
              be.jdField_a_of_type_Ba.a(33554944);
            b(2);
            break label496:
          }
          if (localbj2.jdField_h_of_type_Byte == 1)
          {
            if (localbj2.jdField_j_of_type_Byte == this.jdField_j_of_type_Byte)
            {
              if (this.jdField_a_of_type_Bj == localbj2)
              {
                this.p = 0;
                if (a(this, 25, 24, bi.jdField_a_of_type_Bj))
                  be.jdField_a_of_type_Ba.a(33554944);
                b(2);
                break label496:
              }
              be.jdField_g_of_type_Boolean = true;
              be.jdField_a_of_type_Be.e();
              be.jdField_a_of_type_Be.b(2);
              break label496:
            }
            this.p = 0;
            if (a(this, 25, 24, bi.jdField_a_of_type_Bj))
              be.jdField_a_of_type_Ba.a(33554944);
            b(2);
            break label496:
          }
          if (localbj2.jdField_h_of_type_Byte == 5)
            b(9);
        }
      }
    }
    else
    {
      this.p = 0;
      return false;
    }
    label496: return true;
  }

  public final void e(int paramInt)
  {
    if (b(paramInt))
      b(7);
  }

  public final boolean b()
  {
    return (this.jdField_q_of_type_Byte == 4);
  }

  static
  {
    jdField_a_of_type_ArrayOfLong = new long[15];
    jdField_a_of_type_Byte = 30;
    jdField_a_of_type_ArrayOfByte = new byte[14];
    jdField_a_of_type_Short = 0;
    jdField_b_of_type_Int = -1;
    jdField_a_of_type_Aq = null;
  }
}

⌨️ 快捷键说明

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