コード例 #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);
        }