手机游戏设计案例源代码.docVIP

  • 14
  • 0
  • 约 10页
  • 2016-11-29 发布于北京
  • 举报
手机游戏设计案例源代码

********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精品文档

相关文档