mirror of https://github.com/axmolengine/axmol.git
Fixed TargetedAction::isDone always return false!
This commit is contained in:
parent
30a7141ea0
commit
eba594bb41
|
@ -2536,11 +2536,6 @@ void TargetedAction::update(float time)
|
|||
_action->update(time);
|
||||
}
|
||||
|
||||
bool TargetedAction::isDone(void) const
|
||||
{
|
||||
return _action->isDone();
|
||||
}
|
||||
|
||||
void TargetedAction::setForcedTarget(Node* forcedTarget)
|
||||
{
|
||||
if( _forcedTarget != forcedTarget ) {
|
||||
|
|
|
@ -1523,10 +1523,6 @@ public:
|
|||
* @param time In seconds.
|
||||
*/
|
||||
virtual void update(float time) override;
|
||||
//
|
||||
// Overrides
|
||||
//
|
||||
virtual bool isDone(void) const override;
|
||||
|
||||
CC_CONSTRUCTOR_ACCESS:
|
||||
TargetedAction();
|
||||
|
|
Loading…
Reference in New Issue