supercasiobros/include/bullets.h

18 lines
366 B
C
Raw Normal View History

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
// 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
// draw bullets on the screen
void bulletsDraw();
2020-01-29 14:34:57 +01:00
// move bullets and check collisions
void bulletsMove();
2020-01-29 14:34:57 +01:00
#endif