📄 isoj2memidlet.java
字号:
import isoj2me.Board;import javax.microedition.lcdui.*;import javax.microedition.midlet.*;/** * <p>Title: isoj2me: J2ME Isometric Engine</p> * <p>Description: An engine/framework for isometric games (like japanese RPGs) for mobile devices supporting J2ME (MIDP 1.0). This engine will manage maps, objects and characters. Visit http://sourceforge.net/projects/isoj2me</p> * <p>Copyright: Copyright (c) 2004</p> * <p>License: Lesser GPL (http://www.gnu.org)</p> * <p>Company: Mondonerd.com</p> * @author Massimo Maria Avvisati * @version 0.1 */public class isoj2meMidlet extends MIDlet { private isoj2meCanvas canvas; public Board board; public isoj2meMidlet() { } protected void startApp() throws javax.microedition.midlet. MIDletStateChangeException { /**@todo Implement this javax.microedition.midlet.MIDlet abstract method*/ Displayable current = Display.getDisplay(this).getCurrent(); if (current == null) { canvas = new isoj2meCanvas(); Display.getDisplay(this).setCurrent(canvas); } } protected void pauseApp() { /**@todo Implement this javax.microedition.midlet.MIDlet abstract method*/ } protected void destroyApp(boolean parm1) throws javax.microedition.midlet. MIDletStateChangeException { /**@todo Implement this javax.microedition.midlet.MIDlet abstract method*/ }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -