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

@@ -2,11 +2,11 @@
#include <SDL2/SDL.h>
#include "movingsprite.h"
#include <vector>
#include <string>
#include <sstream>
#include <fstream>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#ifndef ANIMATEDSPRITE_H
#define ANIMATEDSPRITE_H
@@ -25,6 +25,8 @@ private:
int currentFrame; // Frame actual
int counter; // Contador para las animaciones
};
// Variables
std::vector<t_animation> animation; // Vector con las diferentes animaciones
int currentAnimation; // Animacion activa