flockn
flockn copied to clipboard
Discussion: Is the ES6 class hierarchy really needed?
This is not something that will be tackled for the 0.1.0 release.
While I really like ES6 classes, I am contemplating if they are really needed in the flockn game engine. Every object is described as a function and not as a class. Internally they are being converted to ES6 classes with a base class. I'm wondering if it that is really needed or we could opt for a more mixin-based approach. I'm even wondering if we need classes all-together, as I feel it might create a rift between how the game engine is implemented and how it is used.