From 154e974a0d553ea8209c3be9b1bd5820fef5e0a3 Mon Sep 17 00:00:00 2001 From: max-001 Date: Tue, 5 Nov 2024 13:49:20 +0100 Subject: Implemented get_instances_max() at Transform component --- src/crepe/api/Transform.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/crepe/api/Transform.cpp') 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; +} -- cgit v1.2.3