Trabajando en la precarga de habitaciones
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
#ifndef ANIMATEDSPRITE_H
|
||||
#define ANIMATEDSPRITE_H
|
||||
|
||||
struct t_animation
|
||||
struct animation_t
|
||||
{
|
||||
std::string name; // Nombre de la animacion
|
||||
std::vector<SDL_Rect> frames; // Cada uno de los frames que componen la animación
|
||||
@@ -24,7 +24,7 @@ struct t_animation
|
||||
|
||||
struct animatedSprite_t
|
||||
{
|
||||
std::vector<t_animation> animations; // Vector con las diferentes animaciones
|
||||
std::vector<animation_t> animations; // Vector con las diferentes animaciones
|
||||
Texture *texture; // Textura con los graficos para el sprite
|
||||
};
|
||||
|
||||
@@ -35,7 +35,7 @@ class AnimatedSprite : public MovingSprite
|
||||
{
|
||||
private:
|
||||
// Variables
|
||||
std::vector<t_animation> animation; // Vector con las diferentes animaciones
|
||||
std::vector<animation_t> animation; // Vector con las diferentes animaciones
|
||||
int currentAnimation; // Animacion activa
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user