marca paràmetre animation com a const al constructor de Balloon i Item
This commit is contained in:
@@ -23,8 +23,8 @@ class Item {
|
||||
COFFEE_MACHINE = 6,
|
||||
};
|
||||
|
||||
Item(Id id, float x, float y, Texture *texture, std::vector<std::string> *animation, SDL_Renderer *renderer); // Constructor
|
||||
~Item(); // Destructor
|
||||
Item(Id id, float x, float y, Texture *texture, const std::vector<std::string> *animation, SDL_Renderer *renderer); // Constructor
|
||||
~Item(); // Destructor
|
||||
|
||||
Item(const Item &) = delete;
|
||||
auto operator=(const Item &) -> Item & = delete;
|
||||
|
||||
Reference in New Issue
Block a user