Deshaciendose de sdl_image y sdl_mixer
This commit is contained in:
+25
-25
@@ -1,26 +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;
|
||||
};
|
||||
|
||||
#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
|
||||
Reference in New Issue
Block a user