Exemple #1
0
void GameMap::ShowEffect(int dataid,const string& name,const Point& pos,float duration /* = 0.0f */,float scale /* = 1.0f */)
{
	Effect* pEffect = Effect::createWithDataID(dataid);
	if ( pEffect )
	{
		pEffect->setName(name);
		ShowEffect(pEffect,pos,duration,scale);
	}
}
Exemple #2
0
// ====================================
// CEmbossTest
// ====================================
CEmbossTest::CEmbossTest()
{
	ShowEffect();
}
Exemple #3
0
void CEmbossTest::restartCallback(Ref* sender)
{
	ShowEffect();
}