Commit pa que Mon arregle el codi mentre em dutxe
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
#include "texture.h" // for Texture
|
||||
|
||||
// Constructor
|
||||
Balloon::Balloon(float x, float y, Uint8 kind, float velx, float speed, Uint16 creationtimer, Texture *texture, std::vector<std::string> *animation)
|
||||
Balloon::Balloon(float x, float y, Uint8 kind, float velx, float speed, Uint16 creationtimer, std::shared_ptr<Texture> texture, std::vector<std::string> *animation)
|
||||
: kind(kind), speed(speed)
|
||||
{
|
||||
sprite = std::make_unique<AnimatedSprite>(texture, "", animation);
|
||||
|
||||
Reference in New Issue
Block a user