Parent and Child Deletion Improvements (#649)

* Fix timers

* Update Entity.cpp

* Fix timers

Fix timers

Remove debug logs

remove _dynamic

* I like to move it move it

* Child Deletion Improvements

* Check bounds
This commit is contained in:
David Markowitz
2022-07-16 21:39:13 -07:00
committed by GitHub
parent 77d35019cc
commit c689b3d3d1
2 changed files with 16 additions and 4 deletions

View File

@@ -144,6 +144,7 @@ public:
void AddChild(Entity* child);
void RemoveChild(Entity* child);
void RemoveParent();
void AddTimer(std::string name, float time);
void AddCallbackTimer(float time, std::function<void()> callback);
bool HasTimer(const std::string& name);