shit!
This commit is contained in:
parent
1702a06d9f
commit
364a34ce33
20 changed files with 453 additions and 64 deletions
|
|
@ -5,6 +5,7 @@
|
|||
#include "background.h"
|
||||
#include "bullets.h"
|
||||
#include "enemies.h"
|
||||
#include "humans.h"
|
||||
#include "player.h"
|
||||
#include "stage.h"
|
||||
#include "chrome.h"
|
||||
|
|
@ -35,6 +36,8 @@ static void updateGame(){
|
|||
updateSfx();
|
||||
if(clock % 2 == 0){
|
||||
updateEnemies();
|
||||
if(!gameOver && enemyCount == 0) gameOver = TRUE;
|
||||
updateHumans();
|
||||
} else {
|
||||
updateBackground();
|
||||
updateBullets();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue