Haoyan Zhang
/
el17h2z1
deemo1
Diff: Boss/Boss.cpp
- Revision:
- 5:32dbfaf578dd
- Parent:
- 3:1db91ad3ab84
--- a/Boss/Boss.cpp Tue May 12 15:54:51 2020 +0000 +++ b/Boss/Boss.cpp Thu May 14 05:21:50 2020 +0000 @@ -21,11 +21,11 @@ { _height = height; _width = width; - _x = rand() % 64; + _x = rand() % 65; //set the boss original position _y = 2; srand(time(NULL)); - + _velocity.x = 0; _velocity.y = speed; }