Reestructurados los ficheros en carpetas

This commit is contained in:
2022-10-20 16:31:22 +02:00
parent ce509c6aa6
commit 764463fa56
40 changed files with 50 additions and 50 deletions

26
source/background.h Normal file
View File

@@ -0,0 +1,26 @@
#pragma once
#include "sprite.h"
#ifndef BACKGROUND_H
#define BACKGROUND_H
//Clase para el fondo de pantalla del juego
class Background
{
public:
//Constructor
Background();
//Inicializador
void init(int x, int y, int w, int h, LTexture *texture);
//Pinta el fondo en la pantalla
void render();
private:
//Variables
Sprite mSprite;
};
#endif