fix: api updates

This commit is contained in:
2026-06-25 03:22:35 +02:00
parent 81ab2a8a4a
commit 3bc8ba02e1
3 changed files with 34 additions and 29 deletions
+4 -2
View File
@@ -15,10 +15,12 @@ class Scene final {
friend Scene& SceneManager::CreateScene(const std::string& name);
public:
void Add(std::shared_ptr<GameObject> object);
void Remove(const std::shared_ptr<GameObject>& object);
// void Add(std::shared_ptr<GameObject> object);
void Remove(GameObject* object);
void RemoveAll();
GameObject* CreateGameObject(std::string name);
void Load();
void Update();