easy-dungeon-company / ddl

Dungeon Definition Language
0 stars 0 forks source link

Component parts list should use actual assets #37

Open mmjackson90 opened 5 years ago

mmjackson90 commented 5 years ago

Continuing on from the lazy loading change, Component shouldn't have to store assetpack or a string representation of it's parts.

If we can alter loading to initialise all components empty and store their part keys and then do a second pass and add each part to the component as an asset object we can clear up the logic within the asset and also remove the need to carry around an assetpack reference.