扫雷游戏源码(1)

类别:Java 点击:0 评论:0 推荐:

package Boom;

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

/**
?*

Title:


?*

Description:


?*

Copyright: Copyright (c) 2004


?*

Company:


?* @author not attributable
?* @version 1.0
?*/

public class Mine extends MIDlet {
? private static Display display;

? public Mine() {
? }

? protected void startApp() throws javax.microedition.midlet.MIDletStateChangeException {
??? /**@todo Implement this javax.microedition.midlet.MIDlet abstract method*/
??? display = Display.getDisplay(this);

??? MGame pStart = new MGame(this);
??? pStart.activate(display);
? }

? protected void pauseApp() {
??? /**@todo Implement this javax.microedition.midlet.MIDlet abstract method*/
? }

? protected void destroyApp(boolean unconditional) {
??? /**@todo Implement this javax.microedition.midlet.MIDlet abstract method*/
??? display.setCurrent(null);
??? notifyDestroyed();
? }

}

本文地址:http://com.8s8s.com/it/it15456.htm