Fixed TargetedAction::isDone always return false!

This commit is contained in:
Wenhai Lin 2016-02-02 11:07:38 +08:00
parent 30a7141ea0
commit eba594bb41
2 changed files with 0 additions and 9 deletions

View File

@ -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 ) {

View File

@ -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();