package game;
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("请听第一首歌曲,《Worlds Collide》");
GameCore.loadBgView("l.jpg");
GameCore.playSound("Worlds Collide.mp3", true);
GameCore.closeSound("Worlds Collide.mp3");
boolean b = GameCore.confirm("你觉得好听吗?");
if (b)
GameCore.alert("好听");
else
GameCore.alert("不好听.");
}
}