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; }
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); }
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); }