From 542974caa75d447eaec4a8cdb1d5b78423e11435 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Mon, 6 Jul 2020 01:02:26 -0500 Subject: [PATCH] Rename `side_scroller_movement_animation` files to `ssma_component` --- examples/animation/src/main.cpp | 2 +- ...ller_movement_animation_component.h => ssma_component.h} | 6 +++--- ..._movement_animation_component.cpp => ssma_component.cpp} | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) rename include/simpleengine/components/{side_scroller_movement_animation_component.h => ssma_component.h} (85%) rename src/components/{side_scroller_movement_animation_component.cpp => ssma_component.cpp} (96%) diff --git a/examples/animation/src/main.cpp b/examples/animation/src/main.cpp index f2db6b9..6842696 100644 --- a/examples/animation/src/main.cpp +++ b/examples/animation/src/main.cpp @@ -8,7 +8,7 @@ #include #include #include -#include +#include #include #include diff --git a/include/simpleengine/components/side_scroller_movement_animation_component.h b/include/simpleengine/components/ssma_component.h similarity index 85% rename from include/simpleengine/components/side_scroller_movement_animation_component.h rename to include/simpleengine/components/ssma_component.h index 8fbd8b7..1913944 100644 --- a/include/simpleengine/components/side_scroller_movement_animation_component.h +++ b/include/simpleengine/components/ssma_component.h @@ -4,8 +4,8 @@ // Email: seanomik@gmail.com // -#ifndef SIMPLEENGINE_SIDE_SCROLLER_MOVEMENT_ANIMATION_COMPONENT_H -#define SIMPLEENGINE_SIDE_SCROLLER_MOVEMENT_ANIMATION_COMPONENT_H +#ifndef SIMPLEENGINE_SSMA_COMPONENT_H +#define SIMPLEENGINE_SSMA_COMPONENT_H #include "../component.h" #include "animation_component.h" @@ -47,4 +47,4 @@ namespace simpleengine { } -#endif //SIMPLEENGINE_SIDE_SCROLLER_MOVEMENT_ANIMATION_COMPONENT_H +#endif //SIMPLEENGINE_SSMA_COMPONENT_H diff --git a/src/components/side_scroller_movement_animation_component.cpp b/src/components/ssma_component.cpp similarity index 96% rename from src/components/side_scroller_movement_animation_component.cpp rename to src/components/ssma_component.cpp index a008ce5..3e1dcf0 100644 --- a/src/components/side_scroller_movement_animation_component.cpp +++ b/src/components/ssma_component.cpp @@ -4,7 +4,7 @@ // Email: seanomik@gmail.com // -#include "components/side_scroller_movement_animation_component.h" +#include "components/ssma_component.h" simpleengine::SideScrollerMovementAnimationComponent::SideScrollerMovementAnimationComponent(simpleengine::Entity &owning_entity, sf::Sprite &sprite, sf::Texture &texture_sheet, float max_velocity, float acceleration, float deceleration)