Commit pa que Mon arregle el codi mentre em dutxe
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
#include <memory> // for unique_ptr
|
||||
#include "sprite.h" // for Sprite
|
||||
#include "utils.h" // for circle_t
|
||||
class Texture; // lines 9-9
|
||||
#include "texture.h" // lines 9-9
|
||||
|
||||
// Enumeración para los diferentes tipos de balas
|
||||
enum class BulletType
|
||||
@@ -42,7 +42,7 @@ private:
|
||||
void shiftColliders(); // Alinea el círculo de colisión con el objeto
|
||||
|
||||
public:
|
||||
Bullet(int x, int y, BulletType kind, bool poweredUp, int owner, SDL_Rect *playArea, Texture *texture);
|
||||
Bullet(int x, int y, BulletType kind, bool poweredUp, int owner, SDL_Rect *playArea, std::shared_ptr<Texture> texture);
|
||||
~Bullet() = default;
|
||||
|
||||
void render(); // Pinta el objeto en pantalla
|
||||
|
||||
Reference in New Issue
Block a user