cocos2d-x  3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Clonable Class Referenceabstract

Interface that defines how to clone an Ref. More...

#include <CCRef.h>

Inheritance diagram for Clonable:
__Array __Bool __Dictionary __Double __Float __Integer __String Action Animation AnimationFrame PointArray SpriteFrame

Public Member Functions

virtual Clonableclone () const =0
 returns a copy of the Ref More...
 
local clone ()
 returns a copy of the Ref More...
 
virtual ~Clonable ()
Refcopy () const
 returns a copy of the Ref. More...
 
var copy ()
 returns a copy of the Ref. More...
 
local copy ()
 returns a copy of the Ref. More...
 

Detailed Description

Interface that defines how to clone an Ref.

Constructor & Destructor Documentation

virtual ~Clonable ( )
inlinevirtual

Member Function Documentation

virtual Clonable* clone ( ) const
pure virtual

returns a copy of the Ref

Implemented in TargetedAction, Animate, ReverseTime, DelayTime, EaseCubicActionInOut, TintBy, EaseCubicActionOut, EaseCubicActionIn, TintTo, EaseCircleActionInOut, FadeOut, EaseCircleActionOut, FadeIn, EaseCircleActionIn, EaseQuinticActionInOut, FadeTo, EaseQuinticActionOut, Blink, EaseQuinticActionIn, ScaleBy, EaseQuarticActionInOut, EaseQuarticActionOut, EaseQuarticActionIn, ScaleTo, EaseQuadraticActionInOut, BezierTo, EaseQuadraticActionOut, EaseQuadraticActionIn, BezierBy, EaseBezierAction, JumpTo, EaseBackInOut, EaseBackOut, JumpBy, EaseBackIn, SkewBy, EaseBounceInOut, __Array, SkewTo, EaseBounceOut, MoveTo, EaseBounceIn, __CCCallFuncO, EaseBounce, MoveBy, __Dictionary, EaseElasticInOut, __CCCallFuncND, EaseElasticOut, RotateBy, CallFuncN, SplitCols, EaseElasticIn, RotateTo, SplitRows, EaseElastic, Twirl, JumpTiles3D, Spawn, CallFunc, EaseSineInOut, ReuseGrid, EaseSineOut, Waves, StopGrid, CatmullRomBy, WavesTiles3D, CCBEaseInstant, CCBRotateYTo, EaseSineIn, CatmullRomTo, DeccelAmplitude, Liquid, Place, RepeatForever, CCBRotateXTo, Follow, TurnOffTiles, EaseExponentialInOut, Animation, CardinalSplineBy, CCBRotateTo, AccelAmplitude, Shaky3D, FlipY, FadeOutDownTiles, EaseExponentialOut, CCBSoundEffect, __String, FadeOutUpTiles, Speed, EaseExponentialIn, Repeat, CardinalSplineTo, Ripple3D, CCBSetSpriteFrame, AccelDeccelAmplitude, FlipX, FadeOutBLTiles, EaseInOut, TiledGrid3DAction, RemoveSelf, FadeOutTRTiles, FiniteTimeAction, EaseOut, Lens3D, Sequence, ActionTimeline, PointArray, ToggleVisibility, SpriteFrame, EaseIn, Grid3DAction, FlipY3D, ShuffleTiles, OrbitCamera, AnimationFrame, Hide, EaseRateAction, FlipX3D, ProgressFromTo, ActionInterval, ActionTween, LuaCallFunc, Show, ShatteredTiles3D, __Integer, Animate3D, ActionCamera, __Bool, Waves3D, __Double, __Float, Action, ActionInstant, PageTurn3D, ActionEase, GridAction, ProgressTo, and ShakyTiles3D.

var clone ( )
pure virtual

returns a copy of the Ref

Implemented in TargetedAction, Animate, ReverseTime, DelayTime, EaseCubicActionInOut, TintBy, EaseCubicActionOut, EaseCubicActionIn, TintTo, EaseCircleActionInOut, FadeOut, EaseCircleActionOut, FadeIn, EaseCircleActionIn, EaseQuinticActionInOut, FadeTo, EaseQuinticActionOut, Blink, EaseQuinticActionIn, ScaleBy, EaseQuarticActionInOut, EaseQuarticActionOut, EaseQuarticActionIn, ScaleTo, EaseQuadraticActionInOut, BezierTo, EaseQuadraticActionOut, EaseQuadraticActionIn, BezierBy, EaseBezierAction, JumpTo, EaseBackInOut, EaseBackOut, JumpBy, EaseBackIn, SkewBy, EaseBounceInOut, __Array, SkewTo, EaseBounceOut, MoveTo, EaseBounceIn, __CCCallFuncO, EaseBounce, MoveBy, __Dictionary, EaseElasticInOut, __CCCallFuncND, EaseElasticOut, RotateBy, CallFuncN, SplitCols, EaseElasticIn, RotateTo, SplitRows, EaseElastic, Twirl, JumpTiles3D, Spawn, CallFunc, EaseSineInOut, ReuseGrid, EaseSineOut, Waves, StopGrid, CatmullRomBy, WavesTiles3D, CCBEaseInstant, CCBRotateYTo, EaseSineIn, CatmullRomTo, DeccelAmplitude, Liquid, Place, RepeatForever, CCBRotateXTo, Follow, TurnOffTiles, EaseExponentialInOut, Animation, CardinalSplineBy, CCBRotateTo, AccelAmplitude, Shaky3D, FlipY, FadeOutDownTiles, EaseExponentialOut, CCBSoundEffect, __String, FadeOutUpTiles, Speed, EaseExponentialIn, Repeat, CardinalSplineTo, Ripple3D, CCBSetSpriteFrame, AccelDeccelAmplitude, FlipX, FadeOutBLTiles, EaseInOut, TiledGrid3DAction, RemoveSelf, FadeOutTRTiles, FiniteTimeAction, EaseOut, Lens3D, Sequence, ActionTimeline, PointArray, ToggleVisibility, SpriteFrame, EaseIn, Grid3DAction, FlipY3D, ShuffleTiles, OrbitCamera, AnimationFrame, Hide, EaseRateAction, FlipX3D, ProgressFromTo, ActionInterval, ActionTween, LuaCallFunc, Show, ShatteredTiles3D, __Integer, Animate3D, ActionCamera, __Bool, Waves3D, __Double, __Float, Action, ActionInstant, PageTurn3D, ActionEase, GridAction, ProgressTo, and ShakyTiles3D.

local clone ( )
pure virtual

returns a copy of the Ref

Implemented in TargetedAction, Animate, ReverseTime, DelayTime, EaseCubicActionInOut, TintBy, EaseCubicActionOut, EaseCubicActionIn, TintTo, EaseCircleActionInOut, FadeOut, EaseCircleActionOut, FadeIn, EaseCircleActionIn, EaseQuinticActionInOut, FadeTo, EaseQuinticActionOut, Blink, EaseQuinticActionIn, ScaleBy, EaseQuarticActionInOut, EaseQuarticActionOut, EaseQuarticActionIn, ScaleTo, EaseQuadraticActionInOut, BezierTo, EaseQuadraticActionOut, EaseQuadraticActionIn, BezierBy, EaseBezierAction, JumpTo, EaseBackInOut, EaseBackOut, JumpBy, EaseBackIn, SkewBy, EaseBounceInOut, __Array, SkewTo, EaseBounceOut, MoveTo, EaseBounceIn, __CCCallFuncO, EaseBounce, MoveBy, __Dictionary, EaseElasticInOut, __CCCallFuncND, EaseElasticOut, RotateBy, CallFuncN, SplitCols, EaseElasticIn, RotateTo, SplitRows, EaseElastic, Twirl, JumpTiles3D, Spawn, CallFunc, EaseSineInOut, ReuseGrid, EaseSineOut, Waves, StopGrid, CatmullRomBy, WavesTiles3D, CCBEaseInstant, CCBRotateYTo, EaseSineIn, CatmullRomTo, DeccelAmplitude, Liquid, Place, RepeatForever, CCBRotateXTo, Follow, TurnOffTiles, EaseExponentialInOut, Animation, CardinalSplineBy, CCBRotateTo, AccelAmplitude, Shaky3D, FlipY, FadeOutDownTiles, EaseExponentialOut, CCBSoundEffect, __String, FadeOutUpTiles, Speed, EaseExponentialIn, Repeat, CardinalSplineTo, Ripple3D, CCBSetSpriteFrame, AccelDeccelAmplitude, FlipX, FadeOutBLTiles, EaseInOut, TiledGrid3DAction, RemoveSelf, FadeOutTRTiles, FiniteTimeAction, EaseOut, Lens3D, Sequence, ActionTimeline, PointArray, ToggleVisibility, SpriteFrame, EaseIn, Grid3DAction, FlipY3D, ShuffleTiles, OrbitCamera, AnimationFrame, Hide, EaseRateAction, FlipX3D, ProgressFromTo, ActionInterval, ActionTween, LuaCallFunc, Show, ShatteredTiles3D, __Integer, Animate3D, ActionCamera, __Bool, Waves3D, __Double, __Float, Action, ActionInstant, PageTurn3D, ActionEase, GridAction, ProgressTo, and ShakyTiles3D.

Ref* copy ( ) const
inline

returns a copy of the Ref.

Deprecated:
Use clone() instead
var copy ( )
inline

returns a copy of the Ref.

Deprecated:
Use clone() instead
local copy ( )
inline

returns a copy of the Ref.

Deprecated:
Use clone() instead

The documentation for this class was generated from the following file: