Commit pa que Mon arregle el codi mentre em dutxe
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
#include "animated_sprite.h" // for AnimatedSprite
|
||||
#include "enter_name.h" // for EnterName
|
||||
#include "utils.h" // for circle_t
|
||||
class Texture; // lines 12-12
|
||||
#include "texture.h" // lines 12-12
|
||||
enum class ScoreboardMode;
|
||||
|
||||
// Estados del jugador
|
||||
@@ -103,7 +103,7 @@ private:
|
||||
|
||||
public:
|
||||
// Constructor
|
||||
Player(int id, float x, int y, bool demo, SDL_Rect *playArea, std::vector<Texture *> texture, std::vector<std::vector<std::string> *> animations);
|
||||
Player(int id, float x, int y, bool demo, SDL_Rect *playArea, std::vector<std::shared_ptr<Texture>> texture, std::vector<std::vector<std::string> *> animations);
|
||||
|
||||
// Destructor
|
||||
~Player() = default;
|
||||
@@ -118,7 +118,7 @@ public:
|
||||
void render();
|
||||
|
||||
// Pone las texturas del jugador
|
||||
void setPlayerTextures(std::vector<Texture *> texture);
|
||||
void setPlayerTextures(std::vector<std::shared_ptr<Texture>> texture);
|
||||
|
||||
// Actua en consecuencia de la entrada recibida
|
||||
void setInput(int input);
|
||||
|
||||
Reference in New Issue
Block a user