package XXX;
import java.awt.Color;
import com.rupeng.game.GameCore;
public class Game implements Runnable {
public static void main(String[] args) {
GameCore.start(new Game());
}
@Override
public void run() {
GameCore.setGameSize(1024, 768);
GameCore.setGameTitle("============");
GameCore.alert("请听第一首歌曲 《最初的梦想》");
GameCore.loadBgView("XX.jpg");
GameCore.playSound("最初的梦想.mp3", true);
GameCore.closeSound("最初的梦想.mp3");
boolean b = GameCore.confirm("你觉得好听吗?");
if (b)
GameCore.alert("你的回答是好听");
else
GameCore.alert("你的回答是不好听.");
}
}