JME手机游戏设计案例源代码-GameEngine【DOC精选】.docVIP

  • 7
  • 0
  • 约1.06万字
  • 约 10页
  • 2017-02-16 发布于江苏
  • 举报

JME手机游戏设计案例源代码-GameEngine【DOC精选】.doc

JME手机游戏设计案例源代码-GameEngine【DOC精选】

********GameMID.java /* * To change this template, choose Tools | Templates * and open the template in the editor. */ import javax.microedition.lcdui.Display; import javax.microedition.midlet.*; /** * @author Administrator */ public class GameMID extends MIDlet { private Display display; private GameWorld gw=null; public GameMID(){ display = Display.getDisplay(this); //获取Display gw=new GameWorld(this); //创建游戏画布 display.setCurrent(gw); //设置游戏画布为当前显示画面 } public void startApp() { if(gw!=null){

文档评论(0)

1亿VIP精品文档

相关文档