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("请听第一首歌曲,《爱》");
GameCore.loadBgView("l.jpg");
GameCore.playSound("爱.mp3", true);
GameCore.closeSound("爱.mp3");
boolean b = GameCore.confirm("你觉得好听吗?");
if (b)
GameCore.alert("你的回答:是");
else
GameCore.alert("你的回答:否");
}
}