|
|
@ -180,10 +180,10 @@ void GameScreen::run(ALLEGRO_FONT* font) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//Global refresh
|
|
|
|
//Global refresh
|
|
|
|
if (objects.chk_player_col()) {
|
|
|
|
/*if (objects.chk_player_col()) {
|
|
|
|
exit_screen = true;
|
|
|
|
exit_screen = true;
|
|
|
|
}
|
|
|
|
}*/
|
|
|
|
score += objects.chk_bullet_col();
|
|
|
|
//score += objects.chk_bullet_col();
|
|
|
|
objects.move_enemies();
|
|
|
|
objects.move_enemies();
|
|
|
|
al_clear_to_color(al_map_rgb(0, 0, 0));
|
|
|
|
al_clear_to_color(al_map_rgb(0, 0, 0));
|
|
|
|
redraw(font);
|
|
|
|
redraw(font);
|
|
|
|