aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Sprite.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-23 22:23:36 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-23 22:23:36 +0200
commit6e2c5e1b57210b10f8781f103e5c46308544339f (patch)
tree9738592f2082de1881a0ea019bf3c99644134aef /src/crepe/api/Sprite.h
parent9b7be419c9dcc6ebd1e504713c7b2676ca3d2fdf (diff)
more nitpicking
Diffstat (limited to 'src/crepe/api/Sprite.h')
-rw-r--r--src/crepe/api/Sprite.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/crepe/api/Sprite.h b/src/crepe/api/Sprite.h
index 7a701e3..b06125e 100644
--- a/src/crepe/api/Sprite.h
+++ b/src/crepe/api/Sprite.h
@@ -1,18 +1,21 @@
#pragma once
-#include "Component.h"
-#include "api/Color.h"
-#include "api/Texture.h"
#include <SDL2/SDL_rect.h>
#include <cstdint>
#include <memory>
+#include "api/Color.h"
+#include "api/Texture.h"
+
+#include "Component.h"
+
namespace crepe::api {
struct FlipSettings {
bool flip_x = 1;
bool flip_y = 1;
};
+
class Sprite : public Component {
public: