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

var clone ( )
pure virtual

returns a copy of the Ref

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

local clone ( )
pure virtual

returns a copy of the Ref

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