public void Load(ContentManager content) { // Load the needed entity managers. decorEntityManager = new DecorEntityManager(); backgroundEntityManager = new BackgroundEntityManager(); // Loads all needed textures. title = content.Load <Texture2D>("images/game_title"); startButtonTexture = content.Load <Texture2D>("buttons/start/start_button"); startButtonTextureGlow = content.Load <Texture2D>("buttons/start/start_button_glow"); startButton = new StartButton( startButtonTexture.Width, startButtonTexture.Height, GameMain.SCREEN_CENTRE_X - (startButtonTexture.Width / 2), 350, startButtonTexture, startButtonTextureGlow ); }
public void Load(ContentManager content) { combatEntityManager = new CombatEntityManager(content, CombatEntityManager.LEVEL1); backgroundEntityManager = new BackgroundEntityManager(); }