作业

package wy;

import com.rupeng.game.GameCore;
public class wy implements Runnable {
        public static void main(String[] args)
        {
         
          GameCore.start(new kt());
          System.err.print("");
          System.err.print("");
          
        }
        
        public void run()
        {
         
           GameCore.setGameSize(1024, 768);// 设置游戏窗口大小
           GameCore.pause(3000);
           GameCore.loadBgView("111.jpg");
           GameCore.alert("请欣赏一首歌");
           GameCore.playSound("好汉歌.mp3", true);
           GameCore.pause(5000);
           boolean b = GameCore.confirm("霸气吗?");
              if (b)
                  GameCore.alert("e!");
              else
                  GameCore.alert("eee");

        }

原文地址:https://www.cnblogs.com/wangyang520/p/7716440.html