diff options
-rw-r--r-- | src/crepe/Collider.cpp | 2 | ||||
-rw-r--r-- | src/crepe/Collider.h | 2 | ||||
-rw-r--r-- | src/crepe/api/BehaviorScript.h | 3 |
3 files changed, 3 insertions, 4 deletions
diff --git a/src/crepe/Collider.cpp b/src/crepe/Collider.cpp index 113ba61..bbec488 100644 --- a/src/crepe/Collider.cpp +++ b/src/crepe/Collider.cpp @@ -1,3 +1,5 @@ #include "Collider.h" using namespace crepe; + +Collider::Collider(game_object_id_t id) : Component(id) {} diff --git a/src/crepe/Collider.h b/src/crepe/Collider.h index a1e9095..827f83d 100644 --- a/src/crepe/Collider.h +++ b/src/crepe/Collider.h @@ -6,7 +6,7 @@ namespace crepe { class Collider : public Component { public: - using Component::Component; + Collider(game_object_id_t id); int size; }; diff --git a/src/crepe/api/BehaviorScript.h b/src/crepe/api/BehaviorScript.h index 1a8910d..f7d484a 100644 --- a/src/crepe/api/BehaviorScript.h +++ b/src/crepe/api/BehaviorScript.h @@ -26,9 +26,6 @@ protected: friend class ComponentManager; public: - ~BehaviorScript() = default; - -public: /** * \brief Set the concrete script of this component * |