public override void LoadContent(ContentManager content) { SnakeManager.Instance().Content = content; m_MainMenuState = new MainMenuState(); m_MainMenuState.LoadContent(content); m_MainMenuState.spriteBatch = spriteBatch; m_MainMenuState.Initialize(); m_CreditsBackground = content.Load<Texture2D>(@"Asset\Snake"); }
public override void LoadContent(ContentManager content) { SnakeManager.Instance().Content = content; m_MainMenuState = new MainMenuState(); m_MainMenuState.LoadContent(content); m_MainMenuState.spriteBatch = spriteBatch; m_MainMenuState.Initialize(); m_CreditsBackground = content.Load <Texture2D>(@"Asset\Snake"); }