aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Component.cpp
diff options
context:
space:
mode:
authormax-001 <maxsmits21@kpnmail.nl>2024-11-05 11:56:39 +0100
committermax-001 <maxsmits21@kpnmail.nl>2024-11-05 11:56:39 +0100
commit8eac9296a487f5b77fc1cba269c70ee23f7603dc (patch)
tree5324659ad2e9a2032a67e3b0f4ebbfdaa5702d5c /src/crepe/Component.cpp
parent6908eb456d408411156f9bde9425d7c2003cd506 (diff)
Added get_instances_max() method
Diffstat (limited to 'src/crepe/Component.cpp')
-rw-r--r--src/crepe/Component.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/crepe/Component.cpp b/src/crepe/Component.cpp
index 358ce31..25c6947 100644
--- a/src/crepe/Component.cpp
+++ b/src/crepe/Component.cpp
@@ -3,3 +3,7 @@
using namespace crepe;
Component::Component(uint32_t id) : game_object_id(id), active(true) {}
+
+int Component::get_instances_max() const {
+ return -1;
+}