void BossTimeOut::Fallingstone() { FallingStone* stone = FallingStone::create(); stone->setTag(20150924); stone->setPosition(randPos()); UIController::getInstance()->getPhysicsLayer()->addChild(stone); StartTiming(); }
void BossTimeOut::Fallingstone() { //³å´Ì²»µôÂä bool isSpeedUp = GameData::getInstance()->getisSpeedUp(); if (isSpeedUp) { unschedule(schedule_selector(BossTimeOut::speedUp)); return; } FallingStone* stone = FallingStone::create(); stone->setPosition(randPos()); UIController::getInstance()->getPhysicsLayer()->addChild(stone); StartTiming(); }