dev-zzo / Spritesse

The Unlicense
0 stars 0 forks source link

Interface rework: services vs objects they manage #10

Open dev-zzo opened 8 years ago

dev-zzo commented 8 years ago

It seems it would be a better idea to pass a service reference when creating an object and handle adding the object to the service within the object's constructor. The current approach with manually adding objects increases code bloat unnecessarily.

Destroying an object would still be explicit (Remove() from a corresponding service).

dev-zzo commented 8 years ago

Factories? Should we implement factories?

dev-zzo commented 8 years ago

The only one remaining is the graphics system...