game.java

来自「java程序源代码很好的东西啊,好的不的了啊,大家要下啊」· Java 代码 · 共 64 行

JAVA
64
字号
// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi 

import javax.microedition.lcdui.Display;
import javax.microedition.lcdui.Displayable;
import javax.microedition.midlet.MIDlet;

// Referenced classes of package game:
//            GameScreen

public class game extends MIDlet
{

    public boolean bRestartGame;
    private Displayable _$732;
    private GameScreen _$730;
    public static String sLang = null;

    public game()
    {
        bRestartGame = false;
        String s = getAppProperty("gamelet-Language");
        if(s == null)
            s = "en";
        sLang = s;
    }

    public void destroyApp(boolean flag)
    {
    }

    public void pauseApp()
    {
    }

    public void quit()
    {
        if(!bRestartGame)
        {
            destroyApp(false);
            notifyDestroyed();
        } else
        {
            _$730 = null;
            _$732 = null;
            for(int i = 0; i < 100; i++)
                System.gc();

            _$732 = Display.getDisplay(this).getCurrent();
            _$730 = new GameScreen(this);
            Display.getDisplay(this).setCurrent(_$730);
        }
    }

    public void startApp()
    {
        _$732 = Display.getDisplay(this).getCurrent();
        _$730 = new GameScreen(this);
        Display.getDisplay(this).setCurrent(_$730);
    }

}

⌨️ 快捷键说明

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