ragmerchant.java

来自「手机RGP经典代码 学手游不要错过啊 有兴趣也可以了解一下」· Java 代码 · 共 35 行

JAVA
35
字号
// Decompiled by DJ v3.9.9.91 Copyright 2005 Atanas Neshkov  Date: 2008-7-7 11:53:48
// Home Page : http://members.fortunecity.com/neshkov/dj.html  - Check often for new version!
// Decompiler options: packimports(3) 

import javax.microedition.lcdui.Display;
import javax.microedition.midlet.MIDlet;
import javax.microedition.midlet.MIDletStateChangeException;

public class RagMerchant extends MIDlet {

	public RagMerchant() {
	}

	protected void startApp() throws MIDletStateChangeException {
		display = Display.getDisplay(this);
		game = new GameCanvas();
		display.setCurrent(game);
		display.callSerially(game);
		game.repaint();
		midlet = this;
	}

	protected void pauseApp() {
	}

	protected void destroyApp(boolean flag) throws MIDletStateChangeException {
	}

	static RagMerchant midlet;

	static Display display = null;

	static GameCanvas game = null;

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?