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("这人叫啥?")) GameCore.alert("西瓜皮"); else GameCore.alert("冬瓜精"); } }