aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Animator.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-12-06 20:07:24 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-12-06 20:07:45 +0100
commitfdb4c99e139a264d4e15e6913a3756fc6cccb2f2 (patch)
tree144b0e9efecd4c10d6d79a17b4bf571336d45961 /src/crepe/api/Animator.cpp
parent9c1fb8b2253149d4a15a94b7ee576a0f9e791033 (diff)
nitpick #59
Diffstat (limited to 'src/crepe/api/Animator.cpp')
-rw-r--r--src/crepe/api/Animator.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/crepe/api/Animator.cpp b/src/crepe/api/Animator.cpp
index 154135f..b8a91dc 100644
--- a/src/crepe/api/Animator.cpp
+++ b/src/crepe/api/Animator.cpp
@@ -7,10 +7,10 @@
using namespace crepe;
-Animator::Animator(uint32_t id, Sprite & ss, unsigned int max_row, unsigned int max_col,
- const Animator::Data & data)
+Animator::Animator(game_object_id_t id, Sprite & spritesheet, unsigned int max_row,
+ unsigned int max_col, const Animator::Data & data)
: Component(id),
- spritesheet(ss),
+ spritesheet(spritesheet),
max_rows(max_row),
max_columns(max_col),
data(data) {