Exemplo n.º 1
0
        public void AddPopupScreen(string text, Texture2D texture, PopupType type, bool pause)
        {
            var pup = new PopupScreen(text, texture, type);

            pup.ParentScreen  = this;
            pup.ScreenManager = ScreenManager;
            pup.Load();
            Popups.Add(pup);
            PauseScreen();
        }