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); }