Plague-fx/src/epidemic_engine.c

25 lines
436 B
C
Raw Normal View History

2021-05-30 21:33:32 +02:00
#include "epidemic_engine.h"
int * count(const int epidemic_grid[64][128], int counter[4])
2021-05-30 21:33:32 +02:00
{
for (int i = 0; i < 64; i ++)
2021-05-30 21:33:32 +02:00
{
for (int j = 0; j < 128; j ++)
2021-05-30 21:33:32 +02:00
{
counter[epidemic_grid[i][j]] ++;
}
}
return counter;
}
int can_become_infected(const int epidemic_grid[64][128], const int i, const int j)
2021-05-30 21:33:32 +02:00
{
return 0;
}
void epidemic_simulation(struct game *current_game)
{
2021-05-30 21:33:32 +02:00
}