diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-12-06 19:21:56 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-12-06 19:21:56 +0100 |
commit | 05e099c03a2242bf5194d06191a0ff667d404817 (patch) | |
tree | 0904b649fe224482516d6c5fd71a25f1d2d91802 /src/crepe/api/Sprite.cpp | |
parent | 83ee80ea439fc6a9042307a25b214b3efcf28d91 (diff) |
implemented feedback
Diffstat (limited to 'src/crepe/api/Sprite.cpp')
-rw-r--r-- | src/crepe/api/Sprite.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crepe/api/Sprite.cpp b/src/crepe/api/Sprite.cpp index b52a344..cc0e20a 100644 --- a/src/crepe/api/Sprite.cpp +++ b/src/crepe/api/Sprite.cpp @@ -11,10 +11,10 @@ using namespace std; using namespace crepe; -Sprite::Sprite(game_object_id_t id, Texture & texture, const Sprite::Data & ctx) +Sprite::Sprite(game_object_id_t id, Texture & texture, const Sprite::Data & data) : Component(id), texture(std::move(texture)), - data(ctx) { + data(data) { dbg_trace(); |