aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Transform.cpp
diff options
context:
space:
mode:
authormax-001 <maxsmits21@kpnmail.nl>2024-11-05 13:49:20 +0100
committermax-001 <maxsmits21@kpnmail.nl>2024-11-05 13:49:20 +0100
commit154e974a0d553ea8209c3be9b1bd5820fef5e0a3 (patch)
treecf48580fc4bf96fd7f833c15ead276a8682c8d3b /src/crepe/api/Transform.cpp
parent81d2a26f4f893648d6e549570d117e18e71beae8 (diff)
Implemented get_instances_max() at Transform component
Diffstat (limited to 'src/crepe/api/Transform.cpp')
-rw-r--r--src/crepe/api/Transform.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/crepe/api/Transform.cpp b/src/crepe/api/Transform.cpp
index 2a36e67..64ad81c 100644
--- a/src/crepe/api/Transform.cpp
+++ b/src/crepe/api/Transform.cpp
@@ -13,4 +13,9 @@ Transform::Transform(uint32_t game_id, Point point, double rot,
: Component(game_id), position(point), rotation(rot), scale(scale) {
dbg_trace();
}
+
Transform::~Transform() { dbg_trace(); }
+
+int Transform::get_instances_max() const {
+ return 1;
+}