DigitalLibrarian / VS2010Projects

Bunch of unorganized mess
1 stars 1 forks source link

GameServicesContainer and unloading content #47

Open DigitalLibrarian opened 8 years ago

DigitalLibrarian commented 8 years ago

Nothing is cleaning up after itself atm. Everything should have symmetric UnloadContent() definitions and be re-entrant.

Also we should be using the GameServicesContainer pattern as that is xna convention, if it is service locator antipattern.

See GuiManager.cs for example : http://code.openhub.net/file?fid=YQgL1j5SwVD2KEtGVmNR5e7eILM&cid=5rnk3p7AYqo&s=&fp=301642&mp&projSelected=true#L0