mirror of https://github.com/axmolengine/axmol.git
Merge pull request #7376 from joshuastray/v3
use CC_CONSTRUCTOR_ACCESS to replace protected/private
This commit is contained in:
commit
0ba3f6c1c9
|
@ -585,7 +585,7 @@ public:
|
|||
virtual JumpTo* clone() const override;
|
||||
virtual JumpTo* reverse(void) const override;
|
||||
|
||||
private:
|
||||
CC_CONSTRUCTOR_ACCESS:
|
||||
JumpTo() {}
|
||||
virtual ~JumpTo() {}
|
||||
CC_DISALLOW_COPY_AND_ASSIGN(JumpTo);
|
||||
|
@ -750,7 +750,7 @@ public:
|
|||
virtual ScaleBy* clone() const override;
|
||||
virtual ScaleBy* reverse(void) const override;
|
||||
|
||||
protected:
|
||||
CC_CONSTRUCTOR_ACCESS:
|
||||
ScaleBy() {}
|
||||
virtual ~ScaleBy() {}
|
||||
|
||||
|
@ -842,7 +842,7 @@ public:
|
|||
|
||||
void setReverseAction(FadeTo* ac);
|
||||
|
||||
protected:
|
||||
CC_CONSTRUCTOR_ACCESS:
|
||||
FadeIn():_reverseAction(nullptr) {}
|
||||
virtual ~FadeIn() {}
|
||||
|
||||
|
@ -869,7 +869,7 @@ public:
|
|||
|
||||
void setReverseAction(FadeTo* ac);
|
||||
|
||||
protected:
|
||||
CC_CONSTRUCTOR_ACCESS:
|
||||
FadeOut():_reverseAction(nullptr) {}
|
||||
virtual ~FadeOut() {}
|
||||
private:
|
||||
|
@ -961,7 +961,7 @@ public:
|
|||
virtual DelayTime* reverse() const override;
|
||||
virtual DelayTime* clone() const override;
|
||||
|
||||
protected:
|
||||
CC_CONSTRUCTOR_ACCESS:
|
||||
DelayTime() {}
|
||||
virtual ~DelayTime() {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue