Cocos2d-x  v3.15
Clonable Class Referenceabstract

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

Inheritance diagram for Clonable:
Action Animation AnimationFrame PointArray SpriteFrame FiniteTimeAction Follow Speed ActionInstant ActionInterval CallFunc FlipX FlipY Hide Place RemoveSelf ReuseGrid Show StopGrid ToggleVisibility AccelAmplitude AccelDeccelAmplitude ActionCamera ActionEase ActionFloat ActionTween Animate Animate3D BezierBy Blink CardinalSplineTo DeccelAmplitude DelayTime FadeTo GridAction JumpBy MoveBy ProgressFromTo ProgressTo Repeat RepeatForever ResizeBy ResizeTo ReverseTime RotateBy RotateTo ScaleTo Sequence SkewTo Spawn TargetedAction TintBy TintTo

Public Member Functions

virtual Clonableclone () const =0
 Returns a copy of the Ref. More...
 
virtual ~Clonable ()
 NA NA
 
Refcopy () const
 Returns a copy of the Ref. More...
 

Detailed Description

Interface that defines how to clone an Ref.

NA NA

Member Function Documentation

◆ clone()

virtual Clonable* clone ( ) const
pure virtual

Returns a copy of the Ref.

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

◆ copy()

Ref* copy ( ) const
inline

Returns a copy of the Ref.


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