//----------------------------------------------------------------------------- // Game::LoadContent() // Allows you to load all content needed for your engine, // such as objects, graphics, etc. //----------------------------------------------------------------------------- public override void LoadContent() { //--------------------------------------------------------------------------------------------------------- // Initialize managers //--------------------------------------------------------------------------------------------------------- // Initialize and Add All Texture TextureMan.Initialize(); TextureMan.AddAll(); // Initialize and Add All image ImageMan.Initialize(); ImageMan.AddAll(); // Initialize and Add All Sprites GameSpriteMan.Initialize(); GameSpriteMan.AddAll(); // Initialize and Add All Sounds SoundMan.Initialize(); SoundMan.AddAll(); // Initialize Input and Output GlyphMan.Initialize(); GlyphMan.AddXml(GlyphName.Consolas36pt, "Consolas36pt.xml", TextureName.Consolas); FontMan.Initialize(); InputMan.Initialize(); // Initialize TimerEvents TimerMan.Initialize(); // Initialize GameObj and Collision PlayBatchMan.Initialize(); // ***** Scene ***** SceneContext.Initialize(); }