aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Transform.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/api/Transform.cpp')
-rw-r--r--src/crepe/api/Transform.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/crepe/api/Transform.cpp b/src/crepe/api/Transform.cpp
index 70b16bd..a80aff3 100644
--- a/src/crepe/api/Transform.cpp
+++ b/src/crepe/api/Transform.cpp
@@ -8,9 +8,11 @@
using namespace crepe;
-Transform::Transform(uint32_t game_id, const Point & point, double rot,
- double scale)
+Transform::Transform(uint32_t game_id, Point point, double rot, double scale)
: Component(game_id), position(point), rotation(rot), scale(scale) {
dbg_trace();
}
+
Transform::~Transform() { dbg_trace(); }
+
+int Transform::get_instances_max() const { return 1; }