JianWei Lee
/
project_game
Meteor defense project
Diff: Spawn/Spawn.cpp
- Revision:
- 33:61c69c46a941
- Parent:
- 32:580d74825810
- Child:
- 34:6ac9541d4c31
diff -r 580d74825810 -r 61c69c46a941 Spawn/Spawn.cpp --- a/Spawn/Spawn.cpp Fri Apr 21 12:00:17 2017 +0000 +++ b/Spawn/Spawn.cpp Fri Apr 21 14:12:28 2017 +0000 @@ -15,7 +15,7 @@ healthDE = 20 + w ; spawnRateA = 32 + w; //32 spawnRateB = 1 + w / 2; //1 - spawnRateC = 1 + w; //2 + spawnRateC = 1 + w ; //2 spawnRateDE = 1 + w/ 2; //1 //randomise the seed. To get different spawn pattern all the time. int t = time(NULL);