AddAction to queue

hi,
i want to move a circle to x positions

        List<CCMoveTo> myactions = new List<CCMoveTo>();
        myactions.Add(new CCMoveTo(1f, new CCPoint(10, 12)));
        myactions.Add(new CCMoveTo(1f, new CCPoint(20, 21)));
        myactions.Add(new CCMoveTo(1f, new CCPoint(23, 40)));
        myactions.Add(new CCMoveTo(1f, new CCPoint(43, 10)));
        myactions.Add(new CCMoveTo(1f, new CCPoint(10, 52)));



        foreach (CCMoveTo myaction in myactions)
        {
            circle.AddAction(myaction);
        }

the problem here, it runs only one action... now i'm looking for a method to queue the actions.

thanks for any help

Tagged:

Best Answer

Answers

  • MarkusFMarkusF USMember ✭✭

    @Procog thx for your help

Sign In or Register to comment.