Exemplo n.º 1
0
        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");
        }
Exemplo n.º 2
0
        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");
        }