matt77hias / MAGE-v0

🧙 MAGE v0
https://matt77hias.github.io/MAGE-v0-Doc
GNU General Public License v3.0
266 stars 20 forks source link

BehaviorScript and Scene #15

Closed matt77hias closed 7 years ago

matt77hias commented 7 years ago

BehaviorScript and Scene should be loaded and closed with the load and close function instead of using the constructor and destructor.

Still, full destruction must however still be guarenteed.

Scenes must now also be switched from within a BehaviorScript which directly calls the Engine. Probably, a new SceneManager could fill this gap via an indirection.