renombrades extensions .h a .hpp

This commit is contained in:
2025-10-17 21:45:19 +02:00
parent 50ccb2ccc2
commit 46974ef2eb
144 changed files with 1758 additions and 1783 deletions

View File

@@ -1,9 +1,9 @@
#include "moving_sprite.h"
#include "moving_sprite.hpp"
#include <cmath> // Para std::abs
#include <cmath> // Para std::abs
#include <utility>
#include "texture.h" // Para Texture
#include "texture.hpp" // Para Texture
// Constructor
MovingSprite::MovingSprite(std::shared_ptr<Texture> texture, SDL_FRect pos, Rotate rotate, float horizontal_zoom, float vertical_zoom, SDL_FlipMode flip)
@@ -75,7 +75,7 @@ void MovingSprite::update(float deltaTime) {
}
// Muestra el sprite por pantalla
void MovingSprite::render() {
void MovingSprite::render() {
getTexture()->render(pos_.x, pos_.y, &sprite_clip_, horizontal_zoom_, vertical_zoom_, rotate_.angle, &rotate_.center, flip_);
}