Beispiel #1
0
void BossTimeOut::Fallingstone()
{
	FallingStone* stone = FallingStone::create();
	stone->setTag(20150924);
	stone->setPosition(randPos());
	UIController::getInstance()->getPhysicsLayer()->addChild(stone);

	StartTiming();
}
Beispiel #2
0
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();
}