mirror of https://github.com/axmolengine/axmol.git
disable MoveTo::reverse()
This commit is contained in:
parent
8e6d9d5dd2
commit
605ce58293
|
@ -1171,6 +1171,12 @@ void MoveTo::startWithTarget(Node *target)
|
|||
_positionDelta = _endPosition - target->getPosition3D();
|
||||
}
|
||||
|
||||
MoveTo* MoveTo::reverse() const
|
||||
{
|
||||
CCASSERT(false, "reverse() not supported in MoveTo");
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// SkewTo
|
||||
|
|
|
@ -549,6 +549,7 @@ public:
|
|||
// Overrides
|
||||
//
|
||||
virtual MoveTo* clone() const override;
|
||||
virtual MoveTo* reverse() const override;
|
||||
virtual void startWithTarget(Node *target) override;
|
||||
|
||||
CC_CONSTRUCTOR_ACCESS:
|
||||
|
|
Loading…
Reference in New Issue