2020-01-29 14:34:57 +01:00
|
|
|
#ifndef BULLETS_H
|
|
|
|
#define BULLETS_H
|
|
|
|
|
|
|
|
// fire bullets
|
|
|
|
// two maximum on the screen (static)
|
|
|
|
// destroys ennemies, and is destroyed when it hits a wall
|
|
|
|
|
2020-02-16 20:43:35 +01:00
|
|
|
// if there are less than two fire bullets on the screen, create a new bullet
|
|
|
|
void bulletThrow();
|
2020-01-29 14:34:57 +01:00
|
|
|
|
2020-02-16 20:43:35 +01:00
|
|
|
// draw bullets on the screen
|
|
|
|
void bulletsDraw();
|
2020-01-29 14:34:57 +01:00
|
|
|
|
2020-02-16 20:43:35 +01:00
|
|
|
// move bullets and check collisions
|
|
|
|
void bulletsMove();
|
2020-01-29 14:34:57 +01:00
|
|
|
|
2020-02-16 20:43:35 +01:00
|
|
|
#endif
|