Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: Alien/Alien.cpp
- Revision:
- 21:970807533b10
- Parent:
- 20:0b6f1cfc5be6
- Child:
- 22:3e978b1d7958
--- a/Alien/Alien.cpp Fri May 01 19:41:24 2020 +0000 +++ b/Alien/Alien.cpp Tue May 12 15:33:50 2020 +0000 @@ -9,7 +9,7 @@ X = x; Y = y; Size = size; - Speed = 1; + Speed = 3; alien_bullet_vector.init(); } @@ -57,7 +57,7 @@ void Alien::flag_set(int counter){ int c = counter; - if(c%7 == 1){ + if(c%7 == 12){ int r = rand()%20; if((r < 2)&& (Alive == true)) {