oops forgot that print
This commit is contained in:
parent
a3576c401e
commit
b6574df3e3
@ -35,7 +35,6 @@ void Game::managePlayers(){
|
|||||||
bool Game::manageInvaders(){
|
bool Game::manageInvaders(){
|
||||||
// shoot
|
// shoot
|
||||||
if(fireCooldown==0){
|
if(fireCooldown==0){
|
||||||
cout << "try" << endl;
|
|
||||||
fireCooldown = confData.invadersFireCooldown+rand()%60;
|
fireCooldown = confData.invadersFireCooldown+rand()%60;
|
||||||
|
|
||||||
// compute the number of valid columns for firing, so rand() can't pick an empty column to fire
|
// compute the number of valid columns for firing, so rand() can't pick an empty column to fire
|
||||||
|
Loading…
Reference in New Issue
Block a user