📄 maingame.java~2~
字号:
package genius.game.mobile.bachelor;
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
/**
* <p>Title: GENIUS bachelor</p>
* <p>Description: GENIUS Mobile Game - Bachelor</p>
* <p>Copyright: Copyright (c) 2002 GENIUS Tech.</p>
* <p>Company: GENIUS Technology Software Development Union.</p>
* @author Rodger hu
* @version 1.01
*/
public class mainGame extends MIDlet {
static mainGame instance;
gameTable displayable = new gameTable();
/** Constructor */
public mainGame() {
instance = this;
}
/** 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 static void quitApp() {
instance.destroyApp(true);
instance.notifyDestroyed();
instance = null;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -