package homework; import com.rupeng.game.GameCore; public class Test implements Runnable { public static void main(String[] args) { GameCore.start(new Test()); } @Override public void run() { GameCore.setGameSize(1024, 768); GameCore.setGameTitle("HyperGameCore-rupeng"); GameCore.loadBgView("IMG_2783.JPG"); GameCore.pause(5000); if(GameCore.confirm("你觉得ok吗?")) GameCore.alert("我也觉得ok"); else GameCore.alert("我也觉得不行"); } }