Exemplo n.º 1
0
        /** creates an action with a Cardinal Spline array of points and tension */
        public static CCCatmullRomBy create(float dt, CCPointArray points)
        {
            CCCatmullRomBy by = new CCCatmullRomBy();

            by.initWithDuration(dt, points);
            return(by);
        }
Exemplo n.º 2
0
 /** creates an action with a Cardinal Spline array of points and tension
  */
 public static CCCatmullRomBy actionWithDuration(float dt, CCPointArray points)
 {
     return(CCCatmullRomBy.create(dt, points));
 }