From cde94efdd44553f3f6575ce84b44c6799e1a1425 Mon Sep 17 00:00:00 2001 From: rtk0c Date: Fri, 6 May 2022 19:52:12 -0700 Subject: Changeset: 22 Improved camera and various cleanups --- source/GameObject.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'source/GameObject.hpp') diff --git a/source/GameObject.hpp b/source/GameObject.hpp index d0f94a5..c30b91b 100644 --- a/source/GameObject.hpp +++ b/source/GameObject.hpp @@ -58,6 +58,7 @@ public: void AddChild(GameObject* child); GameObject* RemoveChild(int index); GameObject* RemoveChild(GameObject* child); + void RemoveSelfFromParent(); PodVector RemoveAllChildren(); EditorAttachment* GetEditorAttachment() const { return mEditorAttachment.get(); } -- cgit v1.2.3-70-g09d2