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

📄 shoot.java

📁 一款jbuilder开发的j2me射击游戏!
💻 JAVA
字号:
package shoot;

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

/**
 * <p>Title: Shoot game from Rex</p>
 * <p>Description: This is a shoot game.</p>
 * <p>Copyright: Copyright (c) 2003</p>
 * <p>Company: SkyPlay</p>
 * @author Kevin
 * @version 1.0
 */

public class Shoot extends MIDlet {
    private ShowMap displayable;

    /** Constructor */
    public Shoot() {
        displayable = new ShowMap(this,new NokiaEffect());
    }

    /** Main method */
    public void startApp() {
        Display.getDisplay(this).setCurrent(displayable);
    }

    /** Handle pausing the MIDlet */
    public void pauseApp() {
    }

    /** Handle destroying the MIDlet */
    public void destroyApp(boolean unconditional) {
    }

    /** Quit the MIDlet */
    public void exitMIDlet(){
        destroyApp(true);
        notifyDestroyed();
        //System.out.println("Shoot shutdown over!");
    }
}

⌨️ 快捷键说明

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