/** Creates the action with an Animation and will restore the original frame when the animation is over.
*
* @param animation A certain animation.
* @param modifier true : reset sprite size to frame; false:use sprite size
* @return An autoreleased Animate object.
*/
public static Animate create(Animation animation, boolean modifierSprite) {
Animate ret = new Animate();
if(ret.initWithAnimation(animation, modifierSprite)) {
return ret;
}
return null;
}
ActionInterval.java 文件源码
java
阅读 15
收藏 0
点赞 0
评论 0
项目:cocos2d-java
作者:
评论列表
文章目录