Limpieza y orden de código
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
#include "const.h"
|
||||
#include "common/asset.h"
|
||||
#include "common/debug.h"
|
||||
#include "common/screen.h"
|
||||
#include "common/text.h"
|
||||
#include "common/utils.h"
|
||||
#include "const.h"
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
@@ -20,15 +20,16 @@ struct point_t
|
||||
int dx, dy;
|
||||
};
|
||||
|
||||
// Clase Test
|
||||
class Test
|
||||
{
|
||||
private:
|
||||
// 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
|
||||
Debug *debug;
|
||||
|
||||
// Variables
|
||||
std::vector<point_t> points;
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user