Esempio n. 1
0
        /**
         * Initialize a "leavePrompt" command.
         *
         * @param  Key[]
         * @return this
         */
        public Voice LeavePrompt(params Key[] keys)
        {
            // initialize leave prompt
            LeavePrompt leavePrompt = new LeavePrompt(keys);

            // push to our commands
            this.rootArray.Add(leavePrompt.GetAction());

            return(this);
        }