Example #1
0
        public CharacterDialogBoxCommand(string characterPortraitTextureAsset, string[] strings, bool shouldPauseGame = true, float lifeTime = float.MaxValue) :
            base(shouldPauseGame, lifeTime)
        {
            Debug.Assert(strings.Length > 0);

            DialogBox = ParentScreen.AddScreenUIObject(new CharacterDialogBox(characterPortraitTextureAsset, strings, "", ScreenManager.Instance.ScreenCentre), true, true);
            DialogBox.Hide();
        }