JianWei Lee
/
project_game
Meteor defense project
Diff: main.cpp
- Revision:
- 17:53aedd20155a
- Parent:
- 14:064b8d7f348d
- Child:
- 28:450ab72fabdc
--- a/main.cpp Fri Apr 07 10:49:57 2017 +0000 +++ b/main.cpp Mon Apr 10 09:56:47 2017 +0000 @@ -23,10 +23,7 @@ init(); while (true) { - game.drawSpawn(lcd); - - game.drawLaserPlayer(pad, lcd); - game.bombAndShield(pad, lcd); + game.update(pad, lcd); render(); } } @@ -36,7 +33,7 @@ // need to initialise LCD and Gamepad lcd.init(); pad.init(); - + game.init(); // initialise the game }