完善战斗系统

This commit is contained in:
ozg
2014-04-25 23:38:22 +08:00
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -238,6 +238,7 @@ void RPGBattlePlayerSprite::animHurt()
this->removeChildByTag(kRPGBattlePlayerSpriteTagArm, true);
CCAnimation *animation = CCAnimation::createWithSpriteFrames(this->m_spriteFramesHurt, 0.2);
CCSequence *animate = CCSequence::create(CCAnimate::create(animation), CCDelayTime::create(1.5), CCCallFunc::create(this, callfunc_selector(RPGBattlePlayerSprite::animNormal)), NULL);
this->runAction(animate);
}