Limpieza y orden de código

This commit is contained in:
2022-10-19 10:17:09 +02:00
parent 8160ddc14a
commit 7288792940
27 changed files with 168 additions and 190 deletions

View File

@@ -1,19 +1,18 @@
#pragma once
#include <SDL2/SDL.h>
#include "const.h"
#include "common/asset.h"
#include "common/jail_audio.h"
#include "common/screen.h"
#include "common/sprite.h"
#include "common/text.h"
#include "common/utils.h"
#include "const.h"
#include <vector>
#ifndef CREDITS_H
#define CREDITS_H
// Clase Credits
class Credits
{
private:
@@ -24,7 +23,7 @@ private:
bool enabled; // Solo se escriben y mueven si estan habilitadas
};
// Objetos
// Objetos y punteros
SDL_Renderer *renderer; // El renderizador de la ventana
Screen *screen; // Objeto encargado de dibujar en pantalla
Asset *asset; // Objeto con los ficheros de recursos