eliminats tots els #ifndef. Sembla que #pragma once ja funciona, no com fa quatre anys 😌

This commit is contained in:
2024-07-26 10:45:29 +02:00
parent 89cea1c93e
commit 9886f314b5
32 changed files with 33 additions and 185 deletions

View File

@@ -3,9 +3,6 @@
#include <SDL2/SDL.h>
#include "sprite.h"
#ifndef MOVINGSPRITE_H
#define MOVINGSPRITE_H
// Clase MovingSprite. Añade posicion y velocidad en punto flotante
class MovingSprite : public Sprite
{
@@ -162,6 +159,4 @@ public:
// Devuelve el incremento en el eje X en pixels
int getIncX();
};
#endif
};