18 lines
366 B
C
18 lines
366 B
C
#ifndef BULLETS_H
|
|
#define BULLETS_H
|
|
|
|
// fire bullets
|
|
// two maximum on the screen (static)
|
|
// destroys ennemies, and is destroyed when it hits a wall
|
|
|
|
// if there are less than two fire bullets on the screen, create a new bullet
|
|
void bulletThrow();
|
|
|
|
// draw bullets on the screen
|
|
void bulletsDraw();
|
|
|
|
// move bullets and check collisions
|
|
void bulletsMove();
|
|
|
|
#endif
|