Project-Rekt / engine

Game Engine - Currently on version MASON
https://project-rekt.github.io/engine/index.html
Apache License 2.0
1 stars 3 forks source link

Added fixes to actor destroy lifecycle #24

Closed Squishy123 closed 4 years ago

Squishy123 commented 4 years ago

closes #23

Added fixes to destroy lifecycle:

  1. Turns out on removeActor in the stage class, it didn't call the actor destroy method
  2. On stage start and stop added a call to create and destroy methods of all children