Pasaeta de include-what-you-use

Afegit fitxer CMakeLists.txt
This commit is contained in:
2025-02-21 12:02:39 +01:00
parent a08da3b983
commit 788aec0dab
50 changed files with 385 additions and 196 deletions

View File

@@ -1,5 +1,9 @@
#include "const.h"
#include "player.h"
#include <stdlib.h> // for rand
#include "animatedsprite.h" // for AnimatedSprite
#include "const.h" // for PLAY_AREA_LEFT, PLAY_AREA_RIGHT
#include "input.h" // for inputs_e
#include "texture.h" // for Texture
// Constructor
Player::Player(float x, int y, SDL_Renderer *renderer, std::vector<Texture *> texture, std::vector<std::vector<std::string> *> animations)