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

📄 goldminer.java

📁 一款支持蓝牙传输的游戏
💻 JAVA
字号:
/*
 * GoldMiner.java
 *
 * Created on 2007年3月14日, 上午9:59
 */

import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;

/**
 *
 * @author  MissYou
 * @version
 */
public class GoldMiner extends MIDlet {
    private GameCanvas gamecanvas;
    
    public GoldMiner(){
        if (gamecanvas == null){
            gamecanvas = new GameCanvas(this);
            Display.getDisplay(this).setCurrent(gamecanvas);
        }
        
    }
    
    public void startApp() {
        gamecanvas.doStartApp();
    }
    
    public void pauseApp(){
        gamecanvas.doPauseApp();
    }
    
    protected void destroyApp(boolean unconditional)
        throws MIDletStateChangeException {
    }
    
    public void doExit() {
        try {
            destroyApp(false);
            notifyDestroyed();
        }catch(MIDletStateChangeException e) {}
    }
}

⌨️ 快捷键说明

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