mirror of https://github.com/axmolengine/axmol.git
Merge pull request #7379 from joshuastray/v3
move JumoTo's copy constuctor and operator= to private
This commit is contained in:
commit
cfc291e49d
|
@ -80,10 +80,11 @@ public:
|
|||
virtual ActionInterval* reverse() const override = 0;
|
||||
virtual ActionInterval *clone() const override = 0;
|
||||
|
||||
protected:
|
||||
CC_CONSTRUCTOR_ACCESS:
|
||||
/** initializes the action */
|
||||
bool initWithDuration(float d);
|
||||
|
||||
protected:
|
||||
float _elapsed;
|
||||
bool _firstTick;
|
||||
};
|
||||
|
@ -588,6 +589,8 @@ public:
|
|||
CC_CONSTRUCTOR_ACCESS:
|
||||
JumpTo() {}
|
||||
virtual ~JumpTo() {}
|
||||
|
||||
private:
|
||||
CC_DISALLOW_COPY_AND_ASSIGN(JumpTo);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue