Open DigitalLibrarian opened 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
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