void FlySystemUpdateHint::loop(float _time){ // CCLOG("TTTTTTTTTTT %s %f",CC_SECTOA(m_time),m_countDown); if(m_time <= 0 ){ removeSelf(NULL); return; } if(m_type==FLY_HINT_LOGIN && (m_time == 900 || m_time == 600 || m_time == 300 || m_time == 60)){ this->stopAllActions(); this->runAction(one); // this->getAnimationManager()->runAnimationsForSequenceNamed("flash"); } else if(m_isLogin) { m_isLogin = false; this->stopAllActions(); this->runAction(one); if(m_type==FLY_HINT_LOGIN){ this->getAnimationManager()->runAnimationsForSequenceNamed("flash"); } } m_time -= 1; }
SpriteMonsterArcher::~SpriteMonsterArcher() { removeSelf(); }
MonsterHaozhu::~MonsterHaozhu() { removeSelf(); }
void Variable::die() { removeSelf(); deleteLater(); }