Exemple #1
0
        public void SetStyle(IStyleFactory style)
        {
            _styleManager.Clear();
            _styleManager.ChangeBackground(style.GetBackground());
            _styleManager.ChangeButtonStyle(style.GetButtonStyle());
            _styleManager.ChangeTextBoxStyle(style.GetTextBoxStyle());

            PlayStopSound(GeneralObject._backgroundPlayer, playingCommand.play, style.GetMusic(), PlayingType.loop);
        }