JianWei Lee
/
project_game
Meteor defense project
Diff: GameEngine/GameEngine.cpp
- Revision:
- 16:ddc4d5669a6e
- Parent:
- 15:c68a5c22a2a2
- Child:
- 17:53aedd20155a
--- a/GameEngine/GameEngine.cpp Mon Apr 03 15:52:59 2017 +0000 +++ b/GameEngine/GameEngine.cpp Fri Apr 07 10:49:57 2017 +0000 @@ -31,7 +31,7 @@ if (pad.buttonhold_A == 1) { //printf("hi, button is working \n"); weap.weaponMath(pad); - weap.drawLaser(Array1, lcd); + weap.drawLaser(Array1, charArray, lcd); } } @@ -65,7 +65,7 @@ if (weap._shield < weap._shieldCapacity ) { weap._shield = weap._shield + weap._shieldRegenRate; //printf("current shield = %d \n",weap._shield); - printf("shield regen rate = %d \n",weap._shieldRegenRate); + //printf("shield regen rate = %d \n",weap._shieldRegenRate); } } weap.shieldMeter(lcd);