public static CCMotionStreak create(float fade, float minSeg, float stroke, ccColor3B color, CCTexture2D texture)
 {
     CCMotionStreak pRet = new CCMotionStreak();
     if (pRet.initWithFade(fade, minSeg, stroke, color, texture))
     {
         return pRet;
     }
     return null;
 }
示例#2
0
        public static CCMotionStreak create(float fade, float minSeg, float stroke, ccColor3B color, CCTexture2D texture)
        {
            CCMotionStreak pRet = new CCMotionStreak();

            if (pRet.initWithFade(fade, minSeg, stroke, color, texture))
            {
                return(pRet);
            }
            return(null);
        }
示例#3
0
        public static CCMotionStreak create(float fade, float minSeg, float stroke, ccColor3B color, string path)
        {
            CCMotionStreak cCMotionStreak = new CCMotionStreak();

            if (cCMotionStreak.initWithFade(fade, minSeg, stroke, color, path))
            {
                return(cCMotionStreak);
            }
            return(null);
        }