From 7e12ebdf945d40d6f11872cf5852c9bb54d1864f Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Sun, 22 Dec 2024 16:12:31 +0100 Subject: big WIP --- src/crepe/api/GameObject.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/crepe/api/GameObject.h') diff --git a/src/crepe/api/GameObject.h b/src/crepe/api/GameObject.h index 043913a..c66da3d 100644 --- a/src/crepe/api/GameObject.h +++ b/src/crepe/api/GameObject.h @@ -37,6 +37,13 @@ private: //! ComponentManager instances GameObject friend class ComponentManager; +protected: + GameObject(GameObject &&) = default; + + GameObject(const GameObject &) = delete; + GameObject & operator=(const GameObject &) = delete; + GameObject & operator=(GameObject &&) = delete; + public: //! The id of the GameObject const game_object_id_t id; -- cgit v1.2.3