Exemplo n.º 1
0
        protected override CCAction reverseImpl()
        {
            ccBezierConfig r = new ccBezierConfig();

            r.endPosition    = (_config.endPosition * -1);
            r.controlPoint_1 = (_config.controlPoint_2 + (_config.endPosition * -1));
            r.controlPoint_2 = (_config.controlPoint_1 + (_config.endPosition * -1));

            CCBezierTo act = new CCBezierTo(this.duration, r);

            return(act);
        }
Exemplo n.º 2
0
        protected override CCAction copyImpl()
        {
            CCBezierTo act = new CCBezierTo(this.duration, _toConfig);

            return(act);
        }