欢迎来到皮皮网官网

【台式源码】【易语言ftp爆破源码】【h2源码分析】javagame源码

时间:2024-11-28 18:29:49 来源:源码原创系统

1.java编写的源码俄罗斯方块游戏

javagame源码

java编写的俄罗斯方块游戏

       以下为一个俄罗斯方块的源代码,以---------线分隔一个类。源码台式源码

       郁闷太长了,源码易语言ftp爆破源码不能全部粘贴上来,源码h2源码分析要的源码大漠后台找图源码话在线M我吧。

       import javax.microedition.midlet.*;

       import javax.microedition.lcdui.*;

       import java.io.IOException;

       /**

       * <p>Title: 俄罗斯方块</p>

       *

       * <p>Description: 俄罗斯方块游戏</p>

       *

       * <p>Copyright: Copyright (c) </p>

       *

       * <p>Company: Star Group</p>

       *

       * @author: Part of this 源码仿360安全桌面源码programe comes from a open-source project in the Web(www.hyweb.net).

       * Our group makes some remakeble improvement to it.

       * @version 1.0

       */

       public class RussianGameMIDlet extends MIDlet {

       static RussianGameMIDlet instance;

       private UIController controller = new UIController(this);

       private Splash splash;

       private Image imgStart;

       Display display = null;

       public RussianGameMIDlet() {

       instance = this;

       display = Display.getDisplay(this);

       }

       public void startApp() {

       try

       {

       imgStart = Image.createImage("/start.png");

       } catch (IOException e) {

       }

       StringBuffer infoStart = new StringBuffer("俄罗斯方块");

       splash = new Splash(this.controller,infoStart, imgStart);

       controller.setSplash(splash);

       controller.handleEvent(UIController.EventID.EVENT_START_SPLASH);

       }

       public void pauseApp() {

       }

       public void destroyApp(boolean unconditional) {

       }

       public static void quitApp() {

       instance.destroyApp(true);

       instance.notifyDestroyed();

       instance = null;

       }

       }

       --------------------------------------------------------------------------------------------------------------------------------------------

copyright © 2016 powered by 皮皮网   sitemap