diff --git a/cocos/2d/CCAnimation.h b/cocos/2d/CCAnimation.h index e51659de17..5d066cb60d 100644 --- a/cocos/2d/CCAnimation.h +++ b/cocos/2d/CCAnimation.h @@ -113,7 +113,7 @@ public: ValueMap& getUserInfo() { return _userInfo; }; /** Sets user infomation. - * @param A dictionary as UserInfo. + * @param userInfo A dictionary as UserInfo. */ void setUserInfo(const ValueMap& userInfo) { diff --git a/cocos/2d/CCAnimationCache.h b/cocos/2d/CCAnimationCache.h index bf87979c51..8f69c37a92 100644 --- a/cocos/2d/CCAnimationCache.h +++ b/cocos/2d/CCAnimationCache.h @@ -112,7 +112,7 @@ public: /** Adds an animation from an NSDictionary. * Make sure that the frames were previously loaded in the SpriteFrameCache. - * @param an NSDictionary. + * @param dictionary An NSDictionary. * @param plist The path of the relative file,it use to find the plist path for load SpriteFrames. * @since v1.1 */ @@ -123,7 +123,7 @@ public: * @since v1.1 * @js addAnimations * @lua addAnimations - * @param An animation from a plist file. + * @param plist An animation from a plist file. */ void addAnimationsWithFile(const std::string& plist);