jtoppins/dct

assets: make asset classes declare which asset types they handle

Closed this issue · 0 comments

This allows a self discovery model in the factory function of an instance of AssetManager so when adding additional asset classes the asset manager does not need to be edited as much.

It is an error is multiple asset classes claim the same asset type.