aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Sprite.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2025-01-08 14:49:09 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2025-01-08 14:49:09 +0100
commitb92b3b830dc53ecc2accf8472a8e4ce8be2e19dc (patch)
tree8776467b7ef4842dae04beaa781aebfe9084d82e /src/crepe/api/Sprite.cpp
parentbff2e7d64d45d8e331da703cba0d74894cf32a84 (diff)
`make format`
Diffstat (limited to 'src/crepe/api/Sprite.cpp')
-rw-r--r--src/crepe/api/Sprite.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/crepe/api/Sprite.cpp b/src/crepe/api/Sprite.cpp
index 2919857..3c77e2e 100644
--- a/src/crepe/api/Sprite.cpp
+++ b/src/crepe/api/Sprite.cpp
@@ -20,9 +20,7 @@ Sprite::Sprite(game_object_id_t id, const Asset & texture, const Sprite::Data &
Sprite::~Sprite() { dbg_trace(); }
-unique_ptr<Component> Sprite::save() const {
- return unique_ptr<Component>(new Sprite(*this));
-}
+unique_ptr<Component> Sprite::save() const { return unique_ptr<Component>(new Sprite(*this)); }
void Sprite::restore(const Component & snapshot) {
*this = static_cast<const Sprite &>(snapshot);