public override void OnEnter()
        {
            base.OnEnter();

            var size = Layer.VisibleBoundsWorldspace.Size;

            var move      = new CCMoveBy(3, new CCPoint(size.Width - 130, 0));
            var move_back = (CCFiniteTimeAction)move.Reverse();

            var move_ease_in      = new CCEaseIn(move, 2.5f);
            var move_ease_in_back = move_ease_in.Reverse();

            var move_ease_out      = new CCEaseOut(move, 2.5f);
            var move_ease_out_back = move_ease_out.Reverse();

            var delay = new CCDelayTime(0.25f);

            var seq1 = new CCSequence(move, delay, move_back, delay)
            {
                Tag = 1
            };
            var seq2 = new CCSequence(move_ease_in, delay, move_ease_in_back, delay)
            {
                Tag = 1
            };
            var seq3 = new CCSequence(move_ease_out, delay, move_ease_out_back, delay)
            {
                Tag = 1
            };

            m_grossini.RepeatForever(seq1);

            m_tamara.RepeatForever(seq2);

            m_kathia.RepeatForever(seq3);

            Schedule(testStopAction, 6.25f);
        }
        public override void OnEnter()
        {
            base.OnEnter();

            var size = CCDirector.SharedDirector.WinSize;

            var move      = new CCMoveBy(3, new CCPoint(size.Width - 130, 0));
            var move_back = (CCActionInterval)move.Reverse();

            var move_ease_in      = new CCEaseIn((CCActionInterval)move.Copy(), 2.5f);
            var move_ease_in_back = move_ease_in.Reverse();

            var move_ease_out      = new CCEaseOut((CCActionInterval)move.Copy(), 2.5f);
            var move_ease_out_back = move_ease_out.Reverse();

            var delay = new CCDelayTime(0.25f);

            var seq1 = CCSequence.FromActions(move, delay, move_back, (CCFiniteTimeAction)delay.Copy());
            var seq2 = CCSequence.FromActions(move_ease_in, (CCFiniteTimeAction)delay.Copy(), move_ease_in_back, (CCFiniteTimeAction)delay.Copy());
            var seq3 = CCSequence.FromActions(move_ease_out, (CCFiniteTimeAction)delay.Copy(), move_ease_out_back,
                                              (CCFiniteTimeAction)delay.Copy());

            var a2 = m_grossini.RunAction(new CCRepeatForever((CCActionInterval)seq1));

            a2.Tag = 1;

            var a1 = m_tamara.RunAction(new CCRepeatForever((CCActionInterval)seq2));

            a1.Tag = 1;

            var a = m_kathia.RunAction(new CCRepeatForever((CCActionInterval)seq3));

            a.Tag = 1;

            Schedule(testStopAction, 6.25f);
        }