ActionInterval.java 文件源码

java
阅读 15 收藏 0 点赞 0 评论 0

项目:cocos2d-java 作者:
/** 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;
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号