文件名称:Java版电子宠物游戏代码
文件大小:66KB
文件格式:RAR
更新时间:2014-10-14 15:56:12
Java版电子宠物游戏代码
Java版电子宠物游戏代码,package Petgame; import javax.microedition.midlet.*; import javax.microedition.lcdui.*; public class Petgame extends MIDlet { private static Petgame instance; private PlayCanvas displayable = new PlayCanvas (); /** Constructor */ public Petgame () { 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; }
【文件预览】:
Java版电子宠物游戏代码
----Java版电子宠物游戏代码.rar(64KB)
----解压密码.txt(694B)