MaJiangMIDlet.java
资源名称:mj.rar [点击查看]
上传用户:fanyfs
上传日期:2019-04-01
资源大小:145k
文件大小:1k
源码类别:
游戏
开发平台:
Java
- import javax.microedition.midlet.MIDlet;
- import javax.microedition.midlet.MIDletStateChangeException;
- import javax.microedition.lcdui.Display;
- public class MaJiangMIDlet extends MIDlet {
- public static Display dis;
- static MaJiangMIDlet mid;
- //MaJiangCanvas mjc;
- MenuCanvas menu;
- public MaJiangMIDlet() {
- mid = this;
- dis = Display.getDisplay(this);
- //mjc = new MaJiangCanvas();
- menu = new MenuCanvas();
- dis.setCurrent(menu);
- }
- public static void endApp() {
- mid.destroyApp(true);
- mid.notifyDestroyed();
- mid = null;
- }
- protected void destroyApp(boolean arg0) {
- }
- protected void pauseApp() {
- }
- protected void startApp() {
- }
- }