ayebear / es

An easy to use, high performance, C++14 "Entity Component System" library.
MIT License
12 stars 2 forks source link

Discussion: Should ConfigFile be a dependency of ES? #9

Open waldnercharles opened 9 years ago

waldnercharles commented 9 years ago

It feels strange to me that ConfigFile is included as a dependency for ES. What if someone doesn't like the syntax for ConfigFile? It might be nice to provide an interface for serializing and deserializing, but not force an end user to to have ConfigFile if they don't intend on using it.

ayebear commented 9 years ago

This is only used for the EntityPrototypeLoader, so it would be easy to make as an optional module. But yes, I'll make it use a generic interface that allows you to add support for other formats. Thanks for the feedback!