From ac0b05010df8f676fd12240073e5417ae865a686 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Mon, 15 Jan 2018 12:12:48 +0100 Subject: checkpoint - all but pong works - pong: exception in rectangle drawing --- projects/11/Pong/Main.vm | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 projects/11/Pong/Main.vm (limited to 'projects/11/Pong/Main.vm') diff --git a/projects/11/Pong/Main.vm b/projects/11/Pong/Main.vm new file mode 100644 index 0000000..94d76d7 --- /dev/null +++ b/projects/11/Pong/Main.vm @@ -0,0 +1,13 @@ +function Main.main 1 +call PongGame.newInstance 0 +pop temp 0 +call PongGame.getInstance 0 +pop local 0 +push local 0 +call PongGame.run 1 +pop temp 0 +push local 0 +call PongGame.dispose 1 +pop temp 0 +push constant 0 +return -- cgit v1.2.3