📄 yosamabin_n60$intro.java
字号:
YosamaBin_N60.count = (byte)(YosamaBin_N60.count + 1);
case 5:
case 9:
case 11:
case 12:
case 14:
}
}
public void scroll1()
{
repaint();
}
public void keyPressed()
{
switch (getGameAction(paramInt))
{
case 1:
if (YosamaBin_N60.a == 2)
{
YosamaBin_N60.dn -= 1;
if (YosamaBin_N60.dn >= 0)
return;
YosamaBin_N60.dn = this.this$0.menu.length - 1;
return;
}
if (YosamaBin_N60.a == 15)
{
YosamaBin_N60.dn1 -= 1;
if (YosamaBin_N60.dn1 >= 0)
return;
YosamaBin_N60.dn1 = this.this$0.menu1.length - 1;
return;
}
if (YosamaBin_N60.a != 4)
return;
this.this$0.textscr += 13;
if (this.this$0.textscr < 30)
return;
this.this$0.textscr = 30;
break;
case 6:
if (YosamaBin_N60.a == 2)
{
YosamaBin_N60.dn += 1;
if (YosamaBin_N60.dn <= this.this$0.menu.length - 1)
return;
YosamaBin_N60.dn = 0;
return;
}
if (YosamaBin_N60.a == 15)
{
YosamaBin_N60.dn1 += 1;
if (YosamaBin_N60.dn1 <= this.this$0.menu1.length - 1)
return;
YosamaBin_N60.dn1 = 0;
return;
}
if (YosamaBin_N60.a != 4)
return;
this.this$0.textscr -= 13;
if (this.this$0.textscr > -9)
return;
this.this$0.textscr = -9;
break;
case 8:
if ((YosamaBin_N60.a != 10) && (YosamaBin_N60.a != 7) && (YosamaBin_N60.a != 13))
{
KeyFire();
return;
}
if (YosamaBin_N60.a == 7)
{
this.this$0.shwScr = new YosamaBin_N60.ShowScore(this.this$0);
YosamaBin_N60.a = 12;
this.this$0.shwScr.cnt = 1;
this.this$0.display.setCurrent(this.this$0.shwScr);
return;
}
if (YosamaBin_N60.a == 13)
{
this.this$0.yes = true;
this.this$0.n1 = new YosamaBin_N60.Entername(this.this$0);
this.this$0.display.setCurrent(this.this$0.n1);
return;
}
if (YosamaBin_N60.a != 10)
return;
YosamaBin_N60.a = 13;
break;
default:
if (paramInt == -6)
{
if ((YosamaBin_N60.a != 10) && (YosamaBin_N60.a != 7) && (YosamaBin_N60.a != 13))
{
KeyFire();
return;
}
if (YosamaBin_N60.a == 7)
{
this.this$0.shwScr = new YosamaBin_N60.ShowScore(this.this$0);
YosamaBin_N60.a = 12;
this.this$0.shwScr.cnt = 1;
this.this$0.display.setCurrent(this.this$0.shwScr);
return;
}
if (YosamaBin_N60.a == 13)
{
this.this$0.yes = true;
this.this$0.n1 = new YosamaBin_N60.Entername(this.this$0);
this.this$0.display.setCurrent(this.this$0.n1);
return;
}
if (YosamaBin_N60.a != 10)
return;
YosamaBin_N60.a = 13;
return;
}
if (paramInt != -7)
return;
if (YosamaBin_N60.a == 7)
{
YosamaBin_N60.a = 2;
return;
}
if (YosamaBin_N60.a != 13)
return;
this.this$0.yes = false;
this.this$0.scr[5] = YosamaBin_N60.score;
if ((YosamaBin_N60.score > this.this$0.scr[0]) || (YosamaBin_N60.score > this.this$0.scr[1]) || (YosamaBin_N60.score > this.this$0.scr[2]) || (YosamaBin_N60.score > this.this$0.scr[3]) || (YosamaBin_N60.score > this.this$0.scr[4]))
{
this.this$0.n1 = new YosamaBin_N60.Entername(this.this$0);
this.this$0.display.setCurrent(this.this$0.n1);
return;
}
YosamaBin_N60.a = 2;
}
}
public void KeyFire()
{
if (YosamaBin_N60.a == 1)
YosamaBin_N60.a = 2;
else if (YosamaBin_N60.a == 2)
if (YosamaBin_N60.dn == 0)
{
if (YosamaBin_N60.gameend == 1)
{
this.this$0.PlayAgain();
YosamaBin_N60.game = 1;
YosamaBin_N60.gameend = 0;
}
this.this$0.checkPause = false;
this.this$0.up = (this.this$0.down = this.this$0.left = this.this$0.right = 0);
try
{
YosamaBin_N60.access$000()[0].stop();
}
catch (Exception localException)
{
}
YosamaBin_N60.a = 20;
this.this$0.display.setCurrent(this.this$0.obj);
}
else if (YosamaBin_N60.dn == 3)
{
this.this$0.menu[3] = ((this.this$0.menu[3] == "Sound(on)") ? "Sound(off)" : "Sound(on)");
this.this$0.sound = (this.this$0.sound != true);
YosamaBin_N60.a = 2;
}
else if (YosamaBin_N60.dn == this.this$0.menu.length - 1)
{
this.this$0.destroyApp(false);
this.this$0.notifyDestroyed();
}
else
{
YosamaBin_N60.a = YosamaBin_N60.dn + 2;
}
else if (YosamaBin_N60.a == 15)
if (YosamaBin_N60.dn1 == 0)
{
this.this$0.up = (this.this$0.down = this.this$0.left = this.this$0.right = 0);
YosamaBin_N60.a = 20;
this.this$0.display.setCurrent(this.this$0.obj);
}
else if (YosamaBin_N60.dn1 == 1)
{
this.this$0.PlayAgain();
YosamaBin_N60.gameend = 0;
YosamaBin_N60.game = 1;
this.this$0.checkPause = false;
YosamaBin_N60.a = 20;
this.this$0.display.setCurrent(this.this$0.obj);
}
else if (YosamaBin_N60.dn1 == 2)
{
YosamaBin_N60.a = 2;
}
else if (YosamaBin_N60.dn1 == 3)
{
this.this$0.destroyApp(false);
this.this$0.notifyDestroyed();
}
else if ((YosamaBin_N60.a == 3) || (YosamaBin_N60.a == 4) || (YosamaBin_N60.a == 6) || (YosamaBin_N60.a == 8))
YosamaBin_N60.a = 2;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -