Quitadas todas las variables globales y transformadas en punteros

This commit is contained in:
2022-10-20 18:24:12 +02:00
parent 596bf2c4a5
commit b4e76a4c7d
25 changed files with 848 additions and 781 deletions

View File

@@ -5,21 +5,21 @@
#ifndef BACKGROUND_H
#define BACKGROUND_H
//Clase para el fondo de pantalla del juego
// Clase para el fondo de pantalla del juego
class Background
{
public:
//Constructor
// Constructor
Background();
//Inicializador
// Inicializador
void init(int x, int y, int w, int h, LTexture *texture);
//Pinta el fondo en la pantalla
// Pinta el fondo en la pantalla
void render();
private:
//Variables
// Variables
Sprite mSprite;
};