MainMIDlet.java
上传用户:public
上传日期:2010-01-27
资源大小:484k
文件大小:1k
- package GameDisplay;
- import javax.microedition.midlet.*;
- import javax.microedition.lcdui.*;
- public class MainMIDlet extends MIDlet {
- private static MainMIDlet instance;
- public MainMIDlet() {
- Control.Init(this);
- }
- public void startApp() {
- Control.showAlert();
- }
- public void pauseApp()
- {
- }
- public void destroyApp(boolean unconditional) {
- Control.game.alive=false;
- }
- public static void quitApp() {
- instance.destroyApp(true);
- instance.notifyDestroyed();
- instance = null;
- }
- }