コード例 #1
0
        public override void LoadContent(ContentManager content)
        {
            SnakeManager.Instance().Content = content;

            PlayState tempPlayState = new PlayState();
            tempPlayState.LoadContent(content);
            tempPlayState.spriteBatch = spriteBatch;

            m_Customize = new Customize();
            m_Customize.ShowDialog();

            manager.states.Remove(this);
            manager.states.Add(tempPlayState);
        }
コード例 #2
0
        public override void LoadContent(ContentManager content)
        {
            SnakeManager.Instance().Content = content;

            PlayState tempPlayState = new PlayState();

            tempPlayState.LoadContent(content);
            tempPlayState.spriteBatch = spriteBatch;

            m_Customize = new Customize();
            m_Customize.ShowDialog();

            manager.states.Remove(this);
            manager.states.Add(tempPlayState);
        }