44 lines
929 B
C
44 lines
929 B
C
void attemptToFireRabbitBullet(
|
|
struct RabbitPosition*,
|
|
struct RabbitWeaponry*,
|
|
struct BulletPosition[]
|
|
);
|
|
|
|
void advanceRabbitBullets(
|
|
struct BulletPosition[],
|
|
struct RabbitWeaponry*
|
|
);
|
|
|
|
void handleRabbitBulletToEnemyCollisions(
|
|
struct BulletPosition[],
|
|
struct EnemyPosition[]
|
|
);
|
|
|
|
int handleRabbitToEnemyCollisions(
|
|
struct RabbitPosition*,
|
|
struct EnemyPosition[]
|
|
);
|
|
|
|
int handleEnemyBulletToRabbitCollisions(
|
|
struct BulletPosition enemyBulletPosition[],
|
|
struct RabbitPosition *rabbitPosition
|
|
);
|
|
|
|
void buildCollisionGrids(
|
|
struct BulletPosition rabbitBulletPosition[],
|
|
struct BulletPosition enemyBulletPosition[],
|
|
struct RabbitPosition *rabbitPosition,
|
|
struct EnemyPosition enemyPosition[]
|
|
);
|
|
|
|
void attemptToFireEnemyBullets(
|
|
struct EnemyPosition[],
|
|
struct BulletPosition enemyBulletPosition[],
|
|
struct RabbitPosition*,
|
|
int difficulty
|
|
);
|
|
|
|
void advanceEnemyBullets(
|
|
struct BulletPosition[]
|
|
);
|