cocos2d-x  3.0
 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...
 
var clone ()
 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, EaseCubicActionOut, TintBy, EaseCubicActionIn, TintTo, EaseCircleActionInOut, FadeOut, EaseCircleActionOut, EaseCircleActionIn, FadeIn, EaseQuinticActionInOut, FadeTo, EaseQuinticActionOut, EaseQuinticActionIn, Blink, EaseQuarticActionInOut, ScaleBy, EaseQuarticActionOut, EaseQuarticActionIn, ScaleTo, EaseQuadraticActionInOut, BezierTo, EaseQuadraticActionOut, EaseQuadraticActionIn, BezierBy, EaseBezierAction, JumpTo, EaseBackInOut, EaseBackOut, JumpBy, EaseBackIn, SkewBy, EaseBounceInOut, __Array, SkewTo, EaseBounceOut, EaseBounceIn, MoveTo, __CCCallFuncO, EaseBounce, __Dictionary, MoveBy, 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, CardinalSplineBy, CCBRotateTo, Animation, AccelAmplitude, Shaky3D, FlipY, FadeOutDownTiles, EaseExponentialOut, CCBSoundEffect, __String, FadeOutUpTiles, Speed, EaseExponentialIn, CardinalSplineTo, Repeat, Ripple3D, CCBSetSpriteFrame, AccelDeccelAmplitude, FlipX, FadeOutBLTiles, EaseInOut, TiledGrid3DAction, RemoveSelf, FadeOutTRTiles, SpriteFrame, FiniteTimeAction, EaseOut, Lens3D, Sequence, PointArray, ToggleVisibility, EaseIn, Grid3DAction, FlipY3D, ShuffleTiles, OrbitCamera, Hide, AnimationFrame, EaseRateAction, FlipX3D, ProgressFromTo, ActionInterval, ActionTween, LuaCallFunc, Show, ShatteredTiles3D, __Integer, 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, EaseCubicActionOut, TintBy, EaseCubicActionIn, TintTo, EaseCircleActionInOut, FadeOut, EaseCircleActionOut, EaseCircleActionIn, FadeIn, EaseQuinticActionInOut, FadeTo, EaseQuinticActionOut, EaseQuinticActionIn, Blink, EaseQuarticActionInOut, ScaleBy, EaseQuarticActionOut, EaseQuarticActionIn, ScaleTo, EaseQuadraticActionInOut, BezierTo, EaseQuadraticActionOut, EaseQuadraticActionIn, BezierBy, EaseBezierAction, JumpTo, EaseBackInOut, EaseBackOut, JumpBy, EaseBackIn, SkewBy, EaseBounceInOut, __Array, SkewTo, EaseBounceOut, EaseBounceIn, MoveTo, __CCCallFuncO, EaseBounce, __Dictionary, MoveBy, 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, CardinalSplineBy, CCBRotateTo, Animation, AccelAmplitude, Shaky3D, FlipY, FadeOutDownTiles, EaseExponentialOut, CCBSoundEffect, __String, FadeOutUpTiles, Speed, EaseExponentialIn, CardinalSplineTo, Repeat, Ripple3D, CCBSetSpriteFrame, AccelDeccelAmplitude, FlipX, FadeOutBLTiles, EaseInOut, TiledGrid3DAction, RemoveSelf, FadeOutTRTiles, SpriteFrame, FiniteTimeAction, EaseOut, Lens3D, Sequence, PointArray, ToggleVisibility, EaseIn, Grid3DAction, FlipY3D, ShuffleTiles, OrbitCamera, Hide, AnimationFrame, EaseRateAction, FlipX3D, ProgressFromTo, ActionInterval, ActionTween, LuaCallFunc, Show, ShatteredTiles3D, __Integer, 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, EaseCubicActionOut, TintBy, EaseCubicActionIn, TintTo, EaseCircleActionInOut, FadeOut, EaseCircleActionOut, EaseCircleActionIn, FadeIn, EaseQuinticActionInOut, FadeTo, EaseQuinticActionOut, EaseQuinticActionIn, Blink, EaseQuarticActionInOut, ScaleBy, EaseQuarticActionOut, EaseQuarticActionIn, ScaleTo, EaseQuadraticActionInOut, BezierTo, EaseQuadraticActionOut, EaseQuadraticActionIn, BezierBy, EaseBezierAction, JumpTo, EaseBackInOut, EaseBackOut, JumpBy, EaseBackIn, SkewBy, EaseBounceInOut, __Array, SkewTo, EaseBounceOut, EaseBounceIn, MoveTo, __CCCallFuncO, EaseBounce, __Dictionary, MoveBy, 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, CardinalSplineBy, CCBRotateTo, Animation, AccelAmplitude, Shaky3D, FlipY, FadeOutDownTiles, EaseExponentialOut, CCBSoundEffect, __String, FadeOutUpTiles, Speed, EaseExponentialIn, CardinalSplineTo, Repeat, Ripple3D, CCBSetSpriteFrame, AccelDeccelAmplitude, FlipX, FadeOutBLTiles, EaseInOut, TiledGrid3DAction, RemoveSelf, FadeOutTRTiles, SpriteFrame, FiniteTimeAction, EaseOut, Lens3D, Sequence, PointArray, ToggleVisibility, EaseIn, Grid3DAction, FlipY3D, ShuffleTiles, OrbitCamera, Hide, AnimationFrame, EaseRateAction, FlipX3D, ProgressFromTo, ActionInterval, ActionTween, LuaCallFunc, Show, ShatteredTiles3D, __Integer, 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: