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

📄 bj.java

📁 现在非常流行的手机网游的源码,可以下载来学习学习.
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
import java.io.PrintStream;
import java.util.Stack;
import java.util.Vector;
import javax.microedition.lcdui.Font;
import javax.microedition.lcdui.Graphics;
import javax.microedition.lcdui.Image;

public class bj
{
  public byte c;
  public bj a;
  public byte d;
  public boolean[] b;
  public static final byte[][] a;
  private byte jdField_a_of_type_Byte;
  private static final byte[][] jdField_b_of_type_Array2dOfByte;
  public boolean c;
  public int c;
  public String a;
  public byte e;
  public byte f;
  public byte g;
  public byte h;
  public byte i;
  public byte j;
  public short b;
  public byte k;
  public int d;
  public int e;
  public int f;
  public int g;
  public int h;
  public Stack a;
  public int[][] a;
  public byte l;
  public byte m;
  public byte n;
  public short c;
  public short d;
  public int i;
  public int j;
  public int k;
  public byte o;
  public byte p;
  public byte q;
  public byte r;
  public byte s;
  public byte t;
  public int l;
  public int m;
  public byte u;
  private byte jdField_b_of_type_Byte;
  public int n;
  public int o;
  public int p;
  public int q;
  public int r;
  public int s;
  public short[][] a;
  public short[] a;
  public Image a;
  public short[][] b;
  public short[] b;
  public Image b;
  public short[][] c;
  public short[] c;
  public Image c;
  public short[][] d;
  public static Image d;
  public static short[][] e;
  public static short[] d;
  public static short[][] f;
  private static byte y;
  public static Image[] a;
  public static short[][][] a;
  public static short[][] g;
  public static short[][][] b;
  public static Image e;
  public static short[] e;
  public static Image f;
  public static short[][] h;
  public static short[][] i;
  public static short[][] j;
  public static short[][] k;
  public static short[][] l;
  public static short[] f;
  public static Image g;
  public static short[][] m;
  public static short[][] n;
  public static short[][] o;
  public static short[][] p;
  public static short[][] q;
  public static short[] g;
  public static Image h;
  public static Image i;
  public static Image j;
  public static Image k;
  public static short[] h;
  public static Image l;
  public static Image m;
  public static Image n;
  public static Image o;
  public static short[] i;
  public static Image p;
  public static short[][] r;
  public static short[][] s;
  public static short[][] t;
  public static short[][] u;
  public static short[][] v;
  public static short[] j;
  public static Image q;
  public static short[][] w;
  public static short[][] x;
  public static short[][] y;
  public static short[][] z;
  public static short[][] A;
  public static short[] k;
  public static Image r;
  public static short[][] B;
  public static short[][] C;
  public static short[][] D;
  public static short[][] E;
  public static short[][] F;
  public static short[] l;
  public static Image s;
  public static short[][] G;
  public static short[][] H;
  public static short[][] I;
  public static short[][] J;
  public static short[][] K;
  public static short[] m;
  public static Image t;
  public static Image u;
  public static Image v;
  public static Image w;
  public static short[] n;
  public static Image x;
  public static short[][] L;
  public static short[][] M;
  public static short[][] N;
  public static short[][] O;
  public static short[][] P;
  public static short[] o;
  public static Image y;
  public static short[][] Q;
  public static short[][] R;
  public static short[][] S;
  public static short[][] T;
  public static short[][] U;
  private static short[] q;
  private static Image jdField_A_of_type_JavaxMicroeditionLcduiImage;
  private static Image B;
  private static Image C;
  private static Image D;
  private static short[] r;
  private static Image E;
  private static Image F;
  private static Image G;
  private static Image H;
  public static short[] p;
  public static Image z;
  public byte v;
  public byte w;
  public byte x;
  public int t;
  public int u;
  private static final byte[][] c;
  public boolean d;
  private static final byte[] jdField_a_of_type_ArrayOfByte;
  private static final byte[][] d;
  private byte z;
  private byte jdField_A_of_type_Byte;
  private static final byte[][] e;
  private final int[][] jdField_b_of_type_Array2dOfInt;

  public void d()
  {
    int i1 = this.jdField_i_of_type_Byte - 40;
    int i2 = 0;
    for (int i3 = 0; i3 < k.c.length; ++i3)
      if (k.c[i3] == i1)
        i2 = i3;
    this.jdField_a_of_type_Array2dOfShort = jdField_a_of_type_Array3dOfShort[i2];
    this.jdField_a_of_type_ArrayOfShort = jdField_g_of_type_Array2dOfShort[i2];
    this.jdField_a_of_type_JavaxMicroeditionLcduiImage = jdField_a_of_type_ArrayOfJavaxMicroeditionLcduiImage[i2];
    this.jdField_d_of_type_Array2dOfShort = jdField_b_of_type_Array3dOfShort[i2];
  }

  public void a(byte paramByte)
  {
  }

  public void b(byte paramByte)
  {
    if (this.jdField_q_of_type_Byte != paramByte)
    {
      int i1;
      switch (this.jdField_q_of_type_Byte)
      {
      case 1:
        this.jdField_q_of_type_Byte = paramByte;
        this.jdField_s_of_type_Byte = 0;
        break;
      case 6:
        this.jdField_q_of_type_Byte = paramByte;
        this.jdField_s_of_type_Byte = 0;
        break;
      case 0:
        this.jdField_q_of_type_Byte = paramByte;
        this.jdField_s_of_type_Byte = 0;
        break;
      case 2:
        if ((paramByte == 6) || (paramByte == 0) || (paramByte == 1) || (paramByte == 4) || (paramByte == 5))
          this.jdField_q_of_type_Byte = paramByte;
        this.jdField_s_of_type_Byte = 0;
        break;
      case 8:
        this.jdField_q_of_type_Byte = paramByte;
        this.jdField_s_of_type_Byte = 0;
        break;
      case 7:
        this.jdField_q_of_type_Byte = paramByte;
        break;
      case 5:
        if (paramByte == 0)
        {
          this.jdField_q_of_type_Byte = paramByte;
          this.jdField_a_of_type_JavaUtilStack.removeAllElements();
          for (i1 = 0; i1 < this.jdField_a_of_type_Array2dOfInt.length; ++i1)
          {
            this.jdField_a_of_type_Array2dOfInt[i1][0] = -1;
            this.jdField_a_of_type_Array2dOfInt[i1][1] = 0;
            this.jdField_a_of_type_Array2dOfInt[i1][2] = 0;
          }
        }
        break;
      case 4:
        if (paramByte == 5)
        {
          this.jdField_q_of_type_Byte = paramByte;
          this.jdField_a_of_type_JavaUtilStack.removeAllElements();
          for (i1 = 0; i1 < this.jdField_a_of_type_Array2dOfInt.length; ++i1)
          {
            this.jdField_a_of_type_Array2dOfInt[i1][0] = -1;
            this.jdField_a_of_type_Array2dOfInt[i1][1] = 0;
            this.jdField_a_of_type_Array2dOfInt[i1][2] = 0;
          }
        }
        break;
      case 9:
        this.jdField_q_of_type_Byte = paramByte;
        break;
      case 31:
      case 32:
      case 33:
      case 34:
      case 35:
      case 36:
      case 37:
      case 38:
      case 39:
      case 40:
      case 41:
      case 42:
      case 43:
      case 44:
      case 45:
        if (paramByte == 0)
          this.jdField_q_of_type_Byte = paramByte;
        break;
      case 3:
      case 10:
      case 11:
      case 12:
      case 13:
      case 14:
      case 15:
      case 16:
      case 17:
      case 18:
      case 19:
      case 20:
      case 21:
      case 22:
      case 23:
      case 24:
      case 25:
      case 26:
      case 27:
      case 28:
      case 29:
      case 30:
      default:
        System.out.println("Error!! GameObj:setState() ");
      }
      this.jdField_s_of_type_Byte = 0;
    }
  }

  public void c(byte paramByte)
  {
    if (this.jdField_t_of_type_Byte == paramByte)
      return;
    this.jdField_t_of_type_Byte = paramByte;
    this.jdField_r_of_type_Byte = 0;
    this.jdField_s_of_type_Byte = 0;
  }

  public static int a(int paramInt1, int paramInt2)
  {
    return j.a(paramInt2, paramInt1);
  }

  public static int b(int paramInt1, int paramInt2)
  {
    return j.b(paramInt2, paramInt1);
  }

  public final void b(int paramInt1, int paramInt2)
  {
    this.jdField_n_of_type_Int = paramInt1;
    this.jdField_o_of_type_Int = paramInt2;
  }

  public void a(c paramc)
  {
  }

  public void a()
  {
    c();
    i();
  }

  public final void i()
  {
    if ((this.jdField_a_of_type_JavaUtilStack.size() == 0) && (this.jdField_a_of_type_Array2dOfInt[0][0] == -1) && (this.jdField_a_of_type_Array2dOfInt[1][0] == -1) && (this.jdField_a_of_type_Array2dOfInt[2][0] == -1))
      return;
    if (this.jdField_a_of_type_JavaUtilStack.size() != 0)
      if (this.jdField_a_of_type_Array2dOfInt[0][0] == -1)
      {
        this.jdField_a_of_type_Array2dOfInt[0][0] = 0;
        this.jdField_a_of_type_Array2dOfInt[0][1] = 0;
        this.jdField_a_of_type_Array2dOfInt[0][2] = ((Integer)this.jdField_a_of_type_JavaUtilStack.pop()).intValue();
      }
      else if (this.jdField_a_of_type_Array2dOfInt[1][0] == -1)
      {
        this.jdField_a_of_type_Array2dOfInt[1][0] = 0;
        this.jdField_a_of_type_Array2dOfInt[1][1] = 0;
        this.jdField_a_of_type_Array2dOfInt[1][2] = ((Integer)this.jdField_a_of_type_JavaUtilStack.pop()).intValue();
      }
      else if (this.jdField_a_of_type_Array2dOfInt[2][0] == -1)
      {
        this.jdField_a_of_type_Array2dOfInt[2][0] = 0;
        this.jdField_a_of_type_Array2dOfInt[2][1] = 0;
        this.jdField_a_of_type_Array2dOfInt[2][2] = ((Integer)this.jdField_a_of_type_JavaUtilStack.pop()).intValue();
      }
    for (int i1 = 0; i1 < this.jdField_a_of_type_Array2dOfInt.length; ++i1)
      if (this.jdField_a_of_type_Array2dOfInt[i1][0] == 0)
      {
        int i2;
        if ((i2 = this.jdField_a_of_type_Array2dOfInt[i1][2]) == 0)

⌨️ 快捷键说明

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