fix: api updates
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user