Пример #1
0
        /// <summary>
        /// Clone this Activation completly
        /// </summary>
        /// <returns>the clone</returns>
        public override AnimationActivation Clone()
        {
            var act = new KeyPressActivation();

            act.Enabled = (ValueWrapper <bool>)Enabled.Clone();
            act.Char    = (ValueWrapper <string>)Char.Clone();
            return(act);
        }
Пример #2
0
        /// <summary>
        /// Clone this Activation completly
        /// </summary>
        /// <returns>the clone</returns>
        public override AnimationActivation Clone()
        {
            var act = new ChannelActivation();

            act.Enabled = (ValueWrapper <bool>)Enabled.Clone();
            act.Old     = (ValueWrapper <string>)Old.Clone();
            return(act);
        }
Пример #3
0
        /// <summary>
        /// Clone this Activation completly
        /// </summary>
        /// <returns>the clone</returns>
        public override AnimationActivation Clone()
        {
            var act = new KeyUpActivation();

            act.Enabled = (ValueWrapper <bool>)Enabled.Clone();
            act.Key     = (ValueWrapper <Keys>)Key.Clone();
            return(act);
        }
Пример #4
0
        /// <summary>
        /// Clone this Activation completly
        /// </summary>
        /// <returns>the clone</returns>
        public override AnimationActivation Clone()
        {
            var act = new ClickAnimation();

            act.Enabled = (ValueWrapper <bool>)Enabled.Clone();
            act.Button  = (ValueWrapper <ClickButton>)Button.Clone();
            return(act);
        }
Пример #5
0
        /// <summary>
        /// Clone this Activation completly
        /// </summary>
        /// <returns>the clone</returns>
        public override AnimationActivation Clone()
        {
            var act = new AfterAnimation();

            act.Enabled = (ValueWrapper <bool>)Enabled.Clone();
            act.Effect  = Effect;
            return(act);
        }
Пример #6
0
        /// <summary>
        /// Clone this Activation completly
        /// </summary>
        /// <returns>the clone</returns>
        public override AnimationActivation Clone()
        {
            var act = new ScriptActivator();

            act.Enabled = (ValueWrapper <bool>)Enabled.Clone();
            act.Key     = (ValueWrapper <string>)Key.Clone();
            return(act);
        }
Пример #7
0
        /// <summary>
        /// Clone this Activation completly
        /// </summary>
        /// <returns>the clone</returns>
        public override AnimationActivation Clone()
        {
            var act = new StatusChange();

            act.Enabled = (ValueWrapper <bool>)Enabled.Clone();
            act.Old     = (ValueWrapper <Status>)Old.Clone();
            act.New     = (ValueWrapper <Status>)New.Clone();
            return(act);
        }