DavidPeicho / ecstra

Fast & Flexible EntityComponentSystem (ECS) for JavaScript & TypeScript
MIT License
51 stars 2 forks source link

Add init and dispose lifecycle methods to Systems #24

Closed aaron-harvey closed 3 years ago

aaron-harvey commented 3 years ago

I had some free time today and have been playing around with threejs - I like the direction your heading.

I added two lifecycle methods - init and dispose - to the System class and added basic tests cases for each.

DavidPeicho commented 3 years ago

Thanks a lot!