Cambiados muchos DEFINEs por variables de param
This commit is contained in:
@@ -32,6 +32,7 @@ private:
|
||||
// Objetos y punteros
|
||||
AnimatedSprite *playerSprite; // Sprite para dibujar el jugador
|
||||
AnimatedSprite *powerSprite; // Sprite para dibujar el aura del jugador con el poder a tope
|
||||
SDL_Rect *playArea; // Rectangulo con la zona de juego
|
||||
|
||||
// Variables
|
||||
float posX; // Posicion en el eje X
|
||||
@@ -74,7 +75,7 @@ private:
|
||||
|
||||
public:
|
||||
// Constructor
|
||||
Player(float x, int y, std::vector<Texture *> texture, std::vector<std::vector<std::string> *> animations);
|
||||
Player(float x, int y, SDL_Rect *playArea, std::vector<Texture *> texture, std::vector<std::vector<std::string> *> animations);
|
||||
|
||||
// Destructor
|
||||
~Player();
|
||||
|
||||
Reference in New Issue
Block a user