Enemy swarm movement
This commit is contained in:
@@ -25,6 +25,8 @@ typedef struct WaveInfo {
|
||||
|
||||
#define NUM_WAVES 5
|
||||
|
||||
typedef struct Game Game;
|
||||
|
||||
static WaveData predefWaves[NUM_WAVES] = {
|
||||
{ 10, 1.0f, 20, 2.0f, 0, 5 * 60 },
|
||||
{ 20, 1.0f, 40, 2.0f, 0, 2 * 60 },
|
||||
@@ -35,7 +37,7 @@ static WaveData predefWaves[NUM_WAVES] = {
|
||||
|
||||
WaveInfo getWaveInfo(i32 idx);
|
||||
|
||||
void updateWave(WaveInfo *wave, f32 dt);
|
||||
void updateWave(WaveInfo *wave, Game *game, f32 dt);
|
||||
|
||||
bool isWaveSendingOver(const WaveInfo *wave);
|
||||
bool isWaveOver(const WaveInfo *wave);
|
||||
|
||||
Reference in New Issue
Block a user