J2ME中的 GAME API介绍[28]

[入库:2006年2月23日] [更新:2007年3月24日]

本文简介:

           g.setColor(255, 255, 255);

           g.fillRect(0, 0, mainWidth, mainHeight);

          

           if(!COMMAND_ADD_FLAG){

               //添加响应命令及监听器

               this.addCommand(pauseCommand);

               this.addCommand(exitCommand);

               this.setCommandListener(this);

               COMMAND_ADD_FLAG = true;

           }

          

           if(fishCollectionVector != null){

               fishCollectionVector = null;

               fishCollectionVector = new Vector();

           }

          

           if(this.layerManager != null){

               this.layerManager = null;

               this.layerManager = new LayerManager();

 

               if(userViewWindow){

                   this.layerManager.setViewWindow(xViewWindow, yViewWindow, wViewWindow, hViewWindow);

               }

           }

          

           if(mySub != null){

本文关键:J2ME中的 GAME API介绍
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top