aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Animator.h
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-11 16:09:21 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-11 16:09:21 +0100
commit2153593f3a684a6b771c98a8e0c385b50a1e8886 (patch)
tree5c655dd7fe7cb4dd5c361c075af2f8993c425402 /src/crepe/api/Animator.h
parent68c6e53f195677a3f91deb1526275fd38e00341d (diff)
implemented feedback
Diffstat (limited to 'src/crepe/api/Animator.h')
-rw-r--r--src/crepe/api/Animator.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/crepe/api/Animator.h b/src/crepe/api/Animator.h
index 09f0134..5918800 100644
--- a/src/crepe/api/Animator.h
+++ b/src/crepe/api/Animator.h
@@ -77,14 +77,14 @@ public:
* \param spritesheet the reference to the spritesheet
* \param single_frame_size the width and height in pixels of a single frame inside the
* spritesheet
- * \param max_cell_size the max rows and columns inside the given spritesheet
+ * \param grid_size the max rows and columns inside the given spritesheet
* \param data extra animation data for more control
*
* This constructor sets up the Animator with the given parameters, and initializes the
* animation system.
*/
Animator(game_object_id_t id, Sprite & spritesheet, const ivec2 & single_frame_size,
- const uvec2 & max_cell_size, const Animator::Data & data);
+ const uvec2 & grid_size, const Animator::Data & data);
~Animator(); // dbg_trace
public:
@@ -94,8 +94,8 @@ private:
//! A reference to the Sprite sheet containing.
Sprite & spritesheet;
- //! The maximum number of rows and columns size
- const uvec2 max_cell_size;
+ //! The maximum number of rows and columns inside the spritesheet
+ const uvec2 grid_size;
//! Uses the spritesheet
friend AnimatorSystem;