Canviada la classe bullet per la de chatGPT, aixina demà ho mire amb calma

This commit is contained in:
2024-09-30 23:06:16 +02:00
parent af1c1051e6
commit dee5bcb4e4
5 changed files with 116 additions and 255 deletions

View File

@@ -7,6 +7,7 @@
#include <vector> // for vector
#include "section.h" // for options_e
#include "utils.h" // for demoKeys_t, color_t, hiScoreEntry_t
#include "bullet.h"
class Asset;
class Background;
class Balloon;
@@ -312,7 +313,7 @@ private:
void renderBullets();
// Crea un objeto bala
void createBullet(int x, int y, int kind, bool poweredUp, int owner);
void createBullet(int x, int y, BulletType kind, bool poweredUp, int owner);
// Vacia el vector de balas
void freeBullets();