eliminats tots els #ifndef. Sembla que #pragma once ja funciona, no com fa quatre anys 😌
This commit is contained in:
@@ -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
|
||||
};
|
||||
Reference in New Issue
Block a user