ecsyjs / ecsy

Entity Component System for javascript
https://ecsyjs.github.io/ecsy/
MIT License
1.11k stars 115 forks source link

Types: parameterize System over World #264

Open simonihmig opened 4 years ago

simonihmig commented 4 years ago

In line with #248, this parameterizes the use of World in System, allowing you to have a subclass of World (a.o. ecsy-three) and System.world correctly reflecting that.