aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Sprite.h
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-28 07:53:24 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-28 07:53:24 +0100
commit14cbc9061ecd7ab1c9e58e5f9ba75a5216e1de2b (patch)
treecd395d82abf24ef2dca4376b5063ea39676177e3 /src/crepe/api/Sprite.h
parentddb5bde6e5dd4d89faf419630086ece66690d6b5 (diff)
feedback implemented
Diffstat (limited to 'src/crepe/api/Sprite.h')
-rw-r--r--src/crepe/api/Sprite.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/crepe/api/Sprite.h b/src/crepe/api/Sprite.h
index 1c40501..9644e72 100644
--- a/src/crepe/api/Sprite.h
+++ b/src/crepe/api/Sprite.h
@@ -77,16 +77,6 @@ public:
* does it need to be calculated again in the Animator
*/
double aspect_ratio;
-
-public:
- /**
- * \brief Gets the maximum number of instances allowed for this sprite.
- * \return Maximum instance count as an integer.
- *
- * For now is this number randomly picked. I think it will eventually be 1.
- */
- virtual int get_instances_max() const { return 10; }
-
private:
//! Reads the sprite_rect of sprite
friend class SDLContext;