?? mycanvas.java~12~
字號:
int I;
int K;
int gk[];
boolean G;
Image fo[];
boolean fT;
boolean cf;
boolean dL;
int _fldnull[];
int az;
int d5[];
int ef[];
int eM;
int eD;
int cT[];
int b8[];
int bA[];
int cW[];
int b3[];
int o[];
int ec[];
int gj[];
int fs[];
int e3[];
int dK[];
int fG[];
int dI[];
int fk[];
int dC[];
int b2[];
int c6[];
int bu[];
int bP[];
int bK[];
int bI[];
int fw[];
int fu[];
int aH[];
int aF[];
int dU[];
int dB[];
int fz[];
int e8[];
int cy[];
int fS[];
int fR[];
int aT[];
int aR[];
int dQ[];
int _fldnew[];
int x[];
int ep[];
int S[];
int R[];
int dx[];
int fm[];
int aS[];
int b6[];
int ao[];
int al[];
int ak[];
int an[];
int ce[];
int d9[];
int aa;
int y;
int fq;
int bk;
int bi;
int bg;
int fN;
int fM;
int fK;
int fJ;
int fI;
int fH;
int fF;
int fE;
int fZ;
int fX;
int f3;
int gb;
int bb;
int a9;
int bd;
int bq;
int dG;
int eS;
int c3;
int c1;
int dd;
int dc;
Image eA;
Image eo;
int dZ;
int dX;
public static final int ag[][] = {
{
0, 0, 17, 32
}, {
18, 0, 22, 32
}, {
40, 0, 22, 32
}
};
public MyCanvas(kf kf1)
{
W = null;
dl = new Random();
cX = null;
c = new boolean[2];
af = new int[2];
bR = new int[21];
bv = new int[2];
fe = new int[3];
df = new int[2];
cr = new int[8];
cq = new int[8];
gk = new int[2];
fo = new Image[19];
_fldnull = new int[10];
d5 = new int[10];
ef = new int[10];
cT = new int[10];
b8 = new int[10];
bA = new int[10];
cW = new int[10];
b3 = new int[10];
o = new int[10];
ec = new int[10];
gj = new int[10];
fs = new int[10];
e3 = new int[10];
dK = new int[10];
fG = new int[10];
dI = new int[10];
fk = new int[10];
dC = new int[10];
b2 = new int[10];
c6 = new int[10];
bu = new int[10];
bP = new int[10];
bK = new int[10];
bI = new int[10];
fw = new int[10];
fu = new int[10];
aH = new int[10];
aF = new int[10];
dU = new int[10];
dB = new int[10];
fz = new int[10];
e8 = new int[10];
cy = new int[10];
fS = new int[10];
fR = new int[10];
aT = new int[10];
aR = new int[10];
dQ = new int[10];
_fldnew = new int[10];
x = new int[10];
ep = new int[10];
S = new int[10];
R = new int[10];
dx = new int[10];
fm = new int[10];
aS = new int[10];
b6 = new int[10];
ao = new int[10];
al = new int[10];
ak = new int[10];
an = new int[2];
ce = new int[2];
d9 = new int[2];
dG = getWidth();
eS = getHeight();
c3 = 176;
c1 = 208;
dZ = c3 - 120 >> 1;
dX = c1 - 128 >> 1;
fA = kf1;
s();
aM = Font.getFont(0, 0, 16);
dM = 0;
K = dG - 176 >> 1;
I = eS - 208 >> 1;
Y();
k();
try
{
if(eA == null)
eA = Image.createImage("/k2.png");
}
catch(IOException ioexception) { }
fQ = -1;
}
synchronized void _mthfor()
{
W = new Thread(this);
W.start();
}
synchronized void u()
{
W = null;
}
public void run()
{
while(true)
{
try
{
int RUNRATE = 140;
// MyCanvas _tmp = this;
Thread.sleep(RUNRATE);
}
catch(Exception exception) { }
preKey = keySave;
keySave = 0;
_mthdo();
repaint();
ap++;
}
}
public void showNotify()
{
}
public void hideNotify()
{
if(dM == 15 && !fT)
{
ah();
fT = true;
eX = 0;
eW = 0;
}
}
public void _mthdo()
{
if(preKey == -6 && dM == 15 && !fT)
{
ah();
fT = true;
eX = 0;
eW = 0;
eV = 0;
preKey = 0;
}
if(fT)
return;
_fldif++;
dg++;
j();
gk[0] = 0;
gk[1] = 0;
p();
am();
ao();
if(cf)
{
gk[0] = 0;
gk[1] = 0;
}
az = 0;
eM = 0;
eD = 0;
aq();
l();
aF();
aD();
if(dh > 0xf423f)
dh = 0xf423f;
if(b6[bk] > 42)
b6[bk] = 42;
if(b6[bi] > 42)
b6[bi] = 42;
}
public void paint(Graphics g1)
{
String s1 = "";
g1.setFont(aM);
_mthelse(g1);
switch(dM)
{
case 1: // '\001'
case 14: // '\016'
case 32: // ' '
default:
break;
case 15: // '\017'
_mthint(g1);
_mthfor(g1);
_mthlong(g1);
if(!fT)
a(g1, 4);
else
a(g1, 3);
if(cH != 3)
{
_mthtry(g1);
} else
{
_mthgoto(g1);
_mthcase(bk);
_mthcase(bi);
}
break;
case 0: // '\0'
_mthif(g1);
dM = 34;
break;
case 34: // '"'
_mthif(g1);
dM = 2;
eX = 30;
o();
break;
case 2: // '\002'
_mthif(g1);
eX--;
if(eX < 0)
{
dM = 3;
break;
}
if(eX < 15)
{
a(g1, fo[13], 2 + dZ, 10 + dX, 0, 124, 49, 51);
a(g1, fo[13], 2 + dZ, 71 + dX, 49, 160, 70, 11);
a(g1, fo[13], 74 + dZ, 53 + dX, 49, 124, 47, 36);
a(g1, fo[13], 44 + dZ, 92 + dX, 49, 171, 74, 13);
} else
{
a(g1, fo[13], 2 + dZ, 30 + dX, 0, 54, 120, 70);
}
break;
case 3: // '\003'
eX = 0;
eW = 0;
eV = 0;
A();
_mthfor(0, 1);
dM = 4;
break;
case 4: // '\004'
a(g1, fo[13], 12 + dZ, 20 + dX, 0, 0, 95, 54);
a(g1, fo[13], 100 + dZ, 85 + dX, 0, 177, 13, 5);
a(g1, fo[13], 2 + dZ, 100 + dX, 0, 184, 115, 8);
g1.setColor(0xffffff);
if((ap & 0x1) == 0)
{
MyCanvas _tmp = this;
a(g1, kf.r[0], 60 + dZ, 75 + dX, 17);
}
if(preKey != 0)
{
_mthcase(g1);
dM = 5;
aH();
}
break;
case 5: // '\005'
eX = 0;
eW = 0;
eV = 0;
_mthvoid();
_mthchar(18);
if(fQ >= 0)
{
dM = 10;
o();
} else
{
A();
dM = 6;
o();
}
break;
case 6: // '\006'
if(preKey == -1)
eX--;
if(preKey == -2)
eX++;
if(eX < 0)
eX = 4;
if(eX > 4)
eX = 0;
_mthnew(g1);
a(g1, eo, 9, 16, 0, 0, 176, 156);
a(g1, 2);
for(int i1 = 0; i1 < 5; i1++)
{
MyCanvas _tmp1 = this;
a(g1, kf._fldnull[i1], 60 + dZ, i1 * 25 + dX, 17, i1, 0xffff00);
}
_mthif(g1, eX * 25 + dX + 3);
if(preKey != -5 && preKey != -6)
break;
switch(eX)
{
case 0: // '\0'
dM = 7;
break;
case 1: // '\001'
dM = 9;
break;
case 2: // '\002'
dM = 11;
eX = 0;
break;
case 3: // '\003'
_mthchar(18);
dM = 10;
eW = 0;
break;
case 4: // '\004'
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -