aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Animator.h
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-02 21:00:54 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-02 21:00:54 +0100
commit0a1739de21e5ab270cb45efb6fc0aed092d81227 (patch)
treeab4019d595fce2410c5ca5d0fd98ad6d8205c079 /src/crepe/api/Animator.h
parenta84ca09e97d466643f022acfffcf4c6a77f42052 (diff)
added all the contructor strutcts for animator,sprite and camera
Diffstat (limited to 'src/crepe/api/Animator.h')
-rw-r--r--src/crepe/api/Animator.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/crepe/api/Animator.h b/src/crepe/api/Animator.h
index 194a9cf..36bc9f4 100644
--- a/src/crepe/api/Animator.h
+++ b/src/crepe/api/Animator.h
@@ -47,6 +47,7 @@ public:
//! offset in pixels.
+ // TODO implement
int offset_x = 0;
};
@@ -108,12 +109,7 @@ public:
* \brief Constructs an Animator object that will control animations for a sprite sheet.
*
* \param id The unique identifier for the component, typically assigned automatically.
- * \param spritesheet A reference to the Sprite object which holds the sprite sheet for
- * animation.
- * \param row The maximum number of rows in the sprite sheet.
- * \param col The maximum number of columns in the sprite sheet.
- * \param col_animate The specific col index of the sprite sheet to animate. This allows
- * selecting which col to animate from multiple col in the sheet.
+ * \param ctx animator data
*
* This constructor sets up the Animator with the given parameters, and initializes the
* animation system.