mwhicks-dev / splat-alpha

2D platforming game engine based in C++ and built on top of the SFML multimedia suite.
0 stars 0 forks source link

Implement AbstractAssetFactory and concrete types #22

Closed mwhicks-dev closed 6 months ago

mwhicks-dev commented 6 months ago

The SPlat::Model::AbstractAssetFactory class will provide an interface for new SPlat::Assets to be created. For each concrete of SPlat::Model::Asset, there will be a corresponding SPlat::Model::AbstractAssetFactory concrete that handles its creation.

The SPlat::Model::AbstractAssetFactory concretes will each be stored in our Runtime class so that they can be accessed by the rest of our system. Particularly, our events will be restructured to to use our SPlat::Model::AbstractAssetFactory concretes.