diff --git a/cocos2dx/actions/CCActionGrid.h b/cocos2dx/actions/CCActionGrid.h index 61967bd506..f5a1d94e7e 100644 --- a/cocos2dx/actions/CCActionGrid.h +++ b/cocos2dx/actions/CCActionGrid.h @@ -95,13 +95,13 @@ public: /** returns the tile that belongs to a certain position of the grid */ Quad3 getTile(const Point& position) const; - /** @deprecatd Use getTile() instead */ + /** @deprecated Use getTile() instead */ CC_DEPRECATED_ATTRIBUTE Quad3 tile(const Point& position) { return getTile(position); } /** returns the non-transformed tile that belongs to a certain position of the grid */ Quad3 getOriginalTile(const Point& position) const; - /** @deprecatd Use getOriginalTile() instead */ + /** @deprecated Use getOriginalTile() instead */ CC_DEPRECATED_ATTRIBUTE Quad3 originalTile(const Point& position) { return getOriginalTile(position); } /** sets a new tile to a certain position of the grid */ diff --git a/cocos2dx/sprite_nodes/CCAnimationCache.h b/cocos2dx/sprite_nodes/CCAnimationCache.h index 6ce24caf40..2951c1238b 100644 --- a/cocos2dx/sprite_nodes/CCAnimationCache.h +++ b/cocos2dx/sprite_nodes/CCAnimationCache.h @@ -62,7 +62,7 @@ public: /** @deprecated Use getInstance() instead */ CC_DEPRECATED_ATTRIBUTE static AnimationCache* sharedAnimationCache() { return AnimationCache::getInstance(); } - /** @deprecatd Use destroyInstance() instead */ + /** @deprecated Use destroyInstance() instead */ CC_DEPRECATED_ATTRIBUTE static void purgeSharedAnimationCache() { return AnimationCache::destroyInstance(); } bool init(void); @@ -107,4 +107,4 @@ private: NS_CC_END -#endif // __CC_ANIMATION_CACHE_H__ \ No newline at end of file +#endif // __CC_ANIMATION_CACHE_H__