cocos2d-x  3.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Deprecated List
Class __CCCallFuncND
Please use CallFuncN instead.
Class __CCCallFuncO
Please use CallFuncN instead.
Member __NotificationCenter::purgeNotificationCenter (void)
use destroyInstance() instead
Member __NotificationCenter::sharedNotificationCenter (void)
use getInstance() instead
Member ActionManager::numberOfRunningActionsInTarget (Node *target) const
use getNumberOfRunningActionsInTarget() instead
Member Animation::addSpriteFrameWithFileName (const std::string &filename)
. Use addSpriteFrameWithFile() instead
Member AnimationCache::animationByName (const std::string &name)
. Use getAnimation() instead
Member AnimationCache::purgeSharedAnimationCache ()
Use destroyInstance() instead
Member AnimationCache::removeAnimationByName (const std::string &name)
. Use removeAnimation() instead
Member AnimationCache::sharedAnimationCache ()
Use getInstance() instead
Member Application::getResourceRootPath (void)

Please use FileUtils::getInstance()->getSearchPaths() instead.

Please use FileUtils::getInstance()->getSearchPaths() instead.

Please use FileUtils::getInstance()->getSearchPaths() instead.

Please use CCFileUtils::sharedFileUtils()->getSearchPaths() instead.

Member Application::setResourceRootPath (const std::string &rootResDir)

Please use FileUtils::getInstance()->setSearchPaths() instead.

Please use FileUtils::getInstance()->setSearchPaths() instead.

Please use FileUtils::getInstance()->setSearchPaths() instead.

Please use CCFileUtils::sharedFileUtils()->setSearchPaths() instead.

Member Application::sharedApplication ()

Use getInstance() instead

Use getInstance() instead

Use getInstance() instead

Use getInstance() instead

Use getInstance() instead

Member ArmatureAnimation::playByIndex (int animationIndex, int durationTo=-1, int loop=-1)
, please use playWithIndex
Parameters
animationIndexthe animation index you want to play
Member ArmatureDataManager::purge ()
Use destoryInstance() instead
Member ArmatureDataManager::sharedArmatureDataManager ()
Use getInstance() instead
Member CallFunc::create (Ref *target, SEL_CallFunc selector)
Use the std::function API instead.
Member CallFunc::initWithTarget (Ref *target)
Use the std::function API instead.
Member CallFuncN::create (Ref *target, SEL_CallFuncN selector)
Use the std::function API instead.
Member CallFuncN::initWithTarget (Ref *target, SEL_CallFuncN selector)
Use the std::function API instead.
Member CC_SWAP (x, y, type)
use std::swap() instead
Member CCBAnimationManager::runAnimations (const char *pName, float fTweenDuration)
This interface will be deprecated sooner or later.
Member CCBAnimationManager::runAnimations (const char *pName)
This interface will be deprecated sooner or later.
Member CCBAnimationManager::runAnimations (int nSeqId, float fTweenDuraiton)
This interface will be deprecated sooner or later.
Member Clonable::copy () const
Use clone() instead
Member Configuration::purgeConfiguration ()
Use destroyInstance() instead
Member Configuration::sharedConfiguration ()
Use getInstance() instead
Member Director::sharedDirector ()
Use getInstance() instead
Member FileUtils::purgeFileUtils ()
Use destroyInstance() instead
Member FileUtils::sharedFileUtils ()
Use getInstance() instead
Member FileUtilsAndroid::getFileData (const std::string &filename, const char *mode, ssize_t *size) override
Please use FileUtils::getDataFromFile or FileUtils::getStringFromFile instead.
Member GLProgramCache::purgeSharedShaderCache ()
Use destroyInstance() instead
Member GLProgramCache::sharedShaderCache ()
Use getInstance() instead
Member Grid3D::originalVertex (const Vec2 &pos) const
Use getOriginalVertex() instead
Member Grid3D::vertex (const Vec2 &pos) const
Use getVertex() instead
Member Grid3DAction::originalVertex (const Vec2 &position)
Use getOriginalVertex() instead
Member Grid3DAction::vertex (const Vec2 &position)
Use getVertex() instead
Member InputDelegate::didAccelerate (cocos2d::Acceleration *accelerationValue) final
Please override onAcceleration
Member Layer::didAccelerate (Acceleration *accelerationValue) final
Please override onAcceleration
Member Layer::keyBackClicked () final
Please override onKeyReleased and check the keycode of KeyboardEvent::KeyCode::Menu(KEY_BACKSPACE) instead.
Member MenuItemToggle::selectedItem ()
Use getSelectedItem() instead
Member Node::boundingBox () const
Use getBoundingBox instead
Member Node::getGLServerState () const
No longer needed
Member Node::nodeToParentTransform () const
use getNodeToParentTransform() instead
Member Node::nodeToWorldTransform () const
Use getNodeToWorldTransform() instead
Member Node::numberOfRunningActions () const
Use getNumberOfRunningActions() instead
Member Node::parentToNodeTransform () const
Use getParentToNodeTransform() instead
Member Node::setGLServerState (int serverState)
No longer needed
Member Node::worldToNodeTransform () const
Use getWorldToNodeTransform() instead
Member NODE_FUNC (__TYPE__)
This interface will be deprecated sooner or later.
Member Scheduler::isScheduledForTarget (Ref *target, SEL_SCHEDULE selector)
Please use 'Scheduler::isScheduled' instead.
Since
v0.99.3
Member Scheduler::scheduleSelector (SEL_SCHEDULE selector, Ref *target, float interval, unsigned int repeat, float delay, bool paused)
Please use 'Scheduler::schedule' instead.
Since
v0.99.3, repeat and delay added in v1.1
Member Scheduler::scheduleSelector (SEL_SCHEDULE selector, Ref *target, float interval, bool paused)
Please use 'Scheduler::schedule' instead.
Member Scheduler::scheduleUpdateForTarget (T *target, int priority, bool paused)
Please use 'Scheduler::scheduleUpdate' instead.
Since
v0.99.3
Member Scheduler::unscheduleSelector (SEL_SCHEDULE selector, Ref *target)
Please use 'Scheduler::unschedule' instead.
Since
v0.99.3
Member Scheduler::unscheduleUpdateForTarget (Ref *target)
Please use 'Scheduler::unscheduleUpdate' instead.
Since
v0.99.3
Member Sprite::displayFrame () const
Use getSpriteFrame() instead
Member Sprite::getDisplayFrame () const
Use getSpriteFrame() instead
Member Sprite::isFlipX ()
Use isFlippedX() instead
Member Sprite::isFlipY ()
Use isFlippedY() instead
Member Sprite::setDisplayFrame (SpriteFrame *newFrame)
Use setSpriteFrame() instead.
Member Sprite::setFlipX (bool flippedX)
Use setFlippedX() instead
Member Sprite::setFlipY (bool flippedY)
Use setFlippedY() instead
Member SpriteFrameCache::purgeSharedSpriteFrameCache ()
Use destroyInstance() instead
Member SpriteFrameCache::sharedSpriteFrameCache ()
Use getInstance() instead
Member SpriteFrameCache::spriteFrameByName (const std::string &name)
use getSpriteFrameByName() instead
Member TextureCache::purgeSharedTextureCache ()
Use destroyInstance() instead
Member TextureCache::sharedTextureCache ()
Use getInstance() instead
Member TiledGrid3DAction::originalTile (const Vec2 &position)
Use getOriginalTile() instead
Member TiledGrid3DAction::tile (const Vec2 &position)
Use getTile() instead
Member Widget::isFlipX ()
Use isFlippedX() instead
Member Widget::isFlipY ()
Use isFlippedY() instead
Member Widget::setFlipX (bool flipX)
Use setFlippedX() instead
Member Widget::setFlipY (bool flipY)
Use setFlippedY() instead