añadido a param.txt los parametros de los globos para velocidad y gravedad
This commit is contained in:
@@ -85,6 +85,7 @@ private:
|
||||
|
||||
// Objetos y punteros
|
||||
AnimatedSprite *sprite; // Sprite del objeto globo
|
||||
param_t *param; // Puntero con todos los parametros del programa
|
||||
|
||||
// Variables
|
||||
float posX; // Posición en el eje X
|
||||
@@ -139,7 +140,7 @@ private:
|
||||
|
||||
public:
|
||||
// Constructor
|
||||
Balloon(float x, float y, Uint8 kind, float velx, float speed, Uint16 creationtimer, Texture *texture, std::vector<std::string> *animation, SDL_Renderer *renderer);
|
||||
Balloon(float x, float y, Uint8 kind, float velx, float speed, Uint16 creationtimer, Texture *texture, std::vector<std::string> *animation, param_t *param);
|
||||
|
||||
// Destructor
|
||||
~Balloon();
|
||||
|
||||
Reference in New Issue
Block a user