diff options
author | hnOsmium0001 <[email protected]> | 2022-05-06 19:52:12 -0700 |
---|---|---|
committer | hnOsmium0001 <[email protected]> | 2022-05-06 19:52:12 -0700 |
commit | d98a4159d86406a47628aa58bae9f3308fea4fd0 (patch) | |
tree | 4b5ee8aef4a099503801ea731e6fb3c724433cdf /source/GameObject.hpp | |
parent | e663fb70fa47764db4576315b78143b6d23ddfa3 (diff) |
Improved camera and various cleanups
Diffstat (limited to 'source/GameObject.hpp')
-rw-r--r-- | source/GameObject.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
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<GameObject*> RemoveAllChildren(); EditorAttachment* GetEditorAttachment() const { return mEditorAttachment.get(); } |